[jbossseam-issues] [JBoss JIRA] Updated: (JBSEAM-2494) Replace Tomcat url-pattern matching with real regex in Seam filter

Pete Muir (JIRA) jira-events at lists.jboss.org
Mon Jan 14 08:12:19 EST 2008

     [ http://jira.jboss.com/jira/browse/JBSEAM-2494?page=all ]

Pete Muir updated JBSEAM-2494:

    Assignee: Pete Muir

> 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: 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