You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2008/08/05 21:32:00 UTC

DO NOT REPLY [Bug 45567] New: mod_rewrite does not work correctly in 2.2.9 vs 2.2.8

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

           Summary: mod_rewrite does not work correctly in 2.2.9 vs 2.2.8
           Product: Apache httpd-2
           Version: 2.2.9
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: critical
          Priority: P1
         Component: mod_rewrite
        AssignedTo: bugs@httpd.apache.org
        ReportedBy: mdierolf@financialcontent.com


In 2.2.8, the following RewriteRule works correctly:
RewriteRule ^/(.*)$ http://domain.com/foo?foo=bar
[proxy,noescape,last,qsappend]

In 2.2.9, when the request is proxied, the query parameters are stripped, and
the foo=bar portion disappears. Also, all GET parameters passed in by the HTTP
client disappear as well.

To reiterate: this code has worked in apache versions up to 2.2.8. In 2.2.9
something changed. This bug is severe, and makes mod_rewrite completely
unusable.


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


DO NOT REPLY [Bug 45567] mod_rewrite does not work correctly in 2.2.9 vs 2.2.8

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=45567





--- Comment #1 from Ruediger Pluem <rp...@apache.org>  2008-08-05 13:23:31 PST ---
A fix for this is already in trunk and proposed for backport (r670072,
http://svn.apache.org/viewvc?view=rev&revision=670072). Please use the
following patch to fix this:
http://people.apache.org/~tdonovan/diffs/mod_rewrite_proxy_esc_2.2.x.diff


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


DO NOT REPLY [Bug 45567] mod_rewrite does not work correctly in 2.2.9 vs 2.2.8

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=45567


Ruediger Pluem <rp...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |DUPLICATE




--- Comment #2 from Ruediger Pluem <rp...@apache.org>  2008-08-05 13:24:31 PST ---


*** This bug has been marked as a duplicate of bug 45247 ***


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org