DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=42683>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ· INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=42683 Summary: Can't use '*' for web.xml filter-mapping's servlet-name or url-mapping Product: Tomcat 6 Version: 6.0.11 Platform: All OS/Version: All Status: NEW Severity: normal Priority: P2 Component: Catalina AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] Change 504726 to org.apache.catalina.deploy.FilterMap attempts to add support for '*' in web.xml filter- mapping servlet-name and url-mapping elements (http://svn.apache.org/viewvc/tomcat/tc6.0.x/trunk/java/org/apache/catalina/deploy/FilterMap.java? r1=467222&r2=504726). However it does not seem to work as a later validation step fails at about line 2156 in StandardContext. This code looks at the size of "servletName" and "urlPatterns" arrays from the FilterMap object. Since '*' doesn't get added as an element of these arrays, and is handled specially, this check will fail if no other url-mapping or servlet-name was specified. I assume the fix is just to take account of the matchAllServletNames and matchAllUrlPatterns flags too in this check. -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]