[jbossseam-issues] [JBoss JIRA] Created: (JBSEAM-2494) Replace Tomcat url-pattern matching with real regex in Seam filter
Christian Bauer (JIRA)
jira-events at lists.jboss.org
Sun Jan 13 23:40:18 EST 2008
Replace Tomcat url-pattern matching with real regex in Seam filter
------------------------------------------------------------------
Key: JBSEAM-2494
URL: http://jira.jboss.com/jira/browse/JBSEAM-2494
Project: JBoss Seam
Issue Type: Feature Request
Components: Core
Reporter: Christian Bauer
In AbstractFilter.java, someone took this from Tomcat:
/**
* Pattern matching code, adapted from Tomcat. This method checks to see if
* the specified path matches the specified pattern.
*
* @param request ServletRequest The request containing the path
* @return boolean True if the path matches the pattern, false otherwise
*/
public boolean isMappedToCurrentRequestPath(ServletRequest request)
What we really need is url-pattern="{regex}". Drop the Tomcat pattern nonsense with the wildcards and use a regex. Probably needs to be backwards compatible now with an additional url-pattern-regex="{regex}" property.
Usecase: Filter /servlets/* AND /Feed/*.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the seam-issues
mailing list