peony2012 / urlrewritefilter

Automatically exported from code.google.com/p/urlrewritefilter
Other
0 stars 0 forks source link

Filter requests through additional javax.servlet.Filter's #129

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Can you add a feature that allows UrlRewriteFilter to filter requests through 
additional javax.servlet.Filter's?

The true problem is that web.xml's filter-mapping doesn't allow regex. 

For example it would be nice if I could add something like this to 
urlrewrite.xml:

<filter>
    <url-pattern>^/news/([0-9]+)$</url-pattern>
    <filter-class>com.foo.bar.NewsFilter</filter-class>
</filter>

Thank you.  Love this library and use it all the time.  

Original issue reported on code.google.com by rgfind...@gmail.com on 21 Dec 2012 at 6:34