larryi 2003/02/16 14:22:16 Modified: src/share/org/apache/tomcat/modules/mappers DecodeInterceptor.java Log: If a trailing "/." is being trimmed to "/", rather that being removed, then a trailing "/foo/.." should have the same result. Revision Changes Path 1.20 +1 -1 jakarta-tomcat/src/share/org/apache/tomcat/modules/mappers/DecodeInterceptor.java Index: DecodeInterceptor.java =================================================================== RCS file: /home/cvs/jakarta-tomcat/src/share/org/apache/tomcat/modules/mappers/DecodeInterceptor.java,v retrieving revision 1.19 retrieving revision 1.20 diff -u -r1.19 -r1.20 --- DecodeInterceptor.java 26 Jan 2003 03:06:43 -0000 1.19 +++ DecodeInterceptor.java 16 Feb 2003 22:22:16 -0000 1.20 @@ -289,7 +289,7 @@ buff[end-1]=='.' && buff[end-2]=='.' && buff[end-3]=='/' ) { - end-=4; + end-=3; if(end < start) { end = start; }
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]