billbarker 2005/08/05 21:25:27 Modified: catalina/src/share/org/apache/catalina/connector Response.java Log: Make certain that URL is loaded early for sandbox. Since TC 5.5.x requires JDK 1.4+, we should probably consider using the URI class for this (which is what o.a.t.u.net.URL is a replacement for :). We need to check that it handles all the cases correctly (including IPv6). Fix for Bug #35033 Revision Changes Path 1.14 +5 -1 jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/connector/Response.java Index: Response.java =================================================================== RCS file: /home/cvs/jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/connector/Response.java,v retrieving revision 1.13 retrieving revision 1.14 diff -u -r1.13 -r1.14 --- Response.java 21 May 2005 03:02:25 -0000 1.13 +++ Response.java 6 Aug 2005 04:25:27 -0000 1.14 @@ -66,6 +66,10 @@ // ----------------------------------------------------------- Constructors + static { + // Ensure that URL is loaded for SM + URL.isSchemeChar('c'); + } public Response() { urlEncoder.addSafeCharacter('/');
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]