Remy Maucherat wrote:

Bill Barker wrote:

N.B. The Filter mapping code looks broken to me. It looks like if I have a
mapping for a url-pattern '*.jsp' that has <dispatcher>INCLUDE</dispatcher>,
then it will incorrectly match a <jsp:include page="header.jspf" />.


However, I haven't actually tested it. :).


I think there's an extra check for that case (this problem existed previously). I'll check.

I confirm that revision 1.10 of the filter factory fixed this.


RCS file: /home/cvs/jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/core/ApplicationFilterFactory.java,v
retrieving revision 1.9
retrieving revision 1.10
diff -r1.9 -r1.10
292c292,294
< && (period != requestPath.length() - 1)) {
---
> && (period != requestPath.length() - 1)
> && ((requestPath.length() - period)
> == (testPath.length() - 1))) {


So it compares the two extensions length, and was bug 22546.

Rémy



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to