Oops. This is the correct patch file. --- Dimitris Dinodimos <[EMAIL PROTECTED]> wrote: > The new behavior is as following: > When defining a security constraint for "/foo/*", > matches resource "/foo" and "/foo/whatever" but not > "/foo.jsp" > > Cheers, > Dimitris Dinodimos __________________________________________________ Get personalized email addresses from Yahoo! Mail - only $35 a year! http://personal.mail.yahoo.com/
Index: AccessInterceptor.java =================================================================== RCS file: /home/cvspublic/jakarta-tomcat/src/share/org/apache/tomcat/request/Attic/AccessInterceptor.java,v retrieving revision 1.12.2.4 diff -u -r1.12.2.4 AccessInterceptor.java --- AccessInterceptor.java 2000/08/24 21:50:51 1.12.2.4 +++ AccessInterceptor.java 2001/01/29 20:10:37 @@ -321,7 +321,9 @@ switch( ct.getMapType() ) { case Container.PREFIX_MAP: - return path.startsWith( ctPath.substring(0, ctPathL - 2 )); + if (path.equals( ctPath.substring(0, ctPathL - 2 ))) + return true; + return path.startsWith( ctPath.substring(0, ctPathL - 1 )); case Container.EXTENSION_MAP: return ctPath.substring( 1 ).equals( URLUtil.getExtension( path )); case Container.PATH_MAP:
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]