[
http://jira.jboss.com/jira/browse/JBWEB-67?page=comments#action_12340453 ]
Remy Maucherat commented on JBWEB-67:
-------------------------------------
Thanks for the fixes. I am not going to accept the fix for (3), though, but other than
that, it looks good.
Patch to fix usabillity issues with the rewrite valve
-----------------------------------------------------
Key: JBWEB-67
URL:
http://jira.jboss.com/jira/browse/JBWEB-67
Project: JBoss Web
Issue Type: Patch
Security Level: Public(Everyone can see)
Components: Rewrite Valve
Affects Versions: JBoss Web Server 1.0.0 GA
Reporter: Rob Hughes
Assigned To: Mladen Turk
Fix For: JBoss Web Server 1.0.0 GA
Attachments: rewrite_valve.patch
I'm providing this patch which fixes the following issues with the rewrite valve and
makes it's behavior more consistent with mod_rewrite.
1: Rewrite conditions were not being processed
2: Case insensitive pattern matches were not working
3: Send redirect with an arbitrary code now works and uses reflection to see if the
method is available so the valve will still work with standalone tomcat
4: Patterns are no longer forced to match the whole input for conditions and rules
5: The server variable HTTP_HOST included the port if the server wasn't running on
the standard ones (80/443)
6: QSA is how handled and query strings are appended where appropriate
7: Comments are now allowed in the rewrite.properties file
The patch is against the jbossweb trunk.
--
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