https://issues.apache.org/bugzilla/show_bug.cgi?id=56430

Benjamin Plocek <sm...@benjaminplocek.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|INVALID                     |---

--- Comment #8 from Benjamin Plocek <sm...@benjaminplocek.com> ---
Using the rewrite valve is not an enhancement. It's a workaround that doesn't
work with Tomcat 7.

Please, read my comment #3. I now see why Tomcat doesn't support extension
mappings including multiple dots. But hey, then please fix your code so that it
is consistent.

In StandardContext.java you have a method validateURLPattern which is used at
startup. For this method the String '*.my.txt' _is valid_, but when it comes to
using this pattern, it does not have an effect, because the rest of the code
seems to agree with your explanation and takes this pattern as invalid.

So, again, I REOPEN this issue and request this enhancement: Fix the check at
startup, so that it is clear why the given filter mapping with multiple dots
does not work. It's a pain, when you have to find out why your filter does not
work and you don't even get a warning in your logs.

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to