]
Pete Muir closed JBSEAM-2494.
-----------------------------
Resolution: Done
Done as regex-url-pattern on all Seam filters.
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
Assigned To: Pete Muir
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: