markt 2004/05/16 09:39:45 Modified: catalina/src/share/org/apache/coyote/tomcat5 CoyoteResponse.java Log: Fix bug 22413. response.encodeURL(response.encodeURL("xxx.jsp") now works correctly in root context. Revision Changes Path 1.16 +2 -2 jakarta-tomcat-catalina/catalina/src/share/org/apache/coyote/tomcat5/CoyoteResponse.java Index: CoyoteResponse.java =================================================================== RCS file: /home/cvs/jakarta-tomcat-catalina/catalina/src/share/org/apache/coyote/tomcat5/CoyoteResponse.java,v retrieving revision 1.15 retrieving revision 1.16 diff -u -r1.15 -r1.16 --- CoyoteResponse.java 15 Apr 2004 01:54:07 -0000 1.15 +++ CoyoteResponse.java 16 May 2004 16:39:45 -0000 1.16 @@ -1382,7 +1382,7 @@ return (false); String contextPath = getContext().getPath(); - if ((contextPath != null) && (contextPath.length() > 0)) { + if (contextPath != null) { String file = url.getFile(); if ((file == null) || !file.startsWith(contextPath)) return (false);
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]