httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 15207] New: - mod_proxy alters URIs when acting as a reverse proxy
Date Tue, 10 Dec 2002 01:58:07 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=15207>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=15207

mod_proxy alters URIs when acting as a reverse proxy

           Summary: mod_proxy alters URIs when acting as a reverse proxy
           Product: Apache httpd-2.0
           Version: 2.0.43
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: mod_proxy
        AssignedTo: bugs@httpd.apache.org
        ReportedBy: phil_g@pobox.com


When a URI passes through mod_proxy, either via ProxyPass or a proxying
RewriteRule, mod_proxy appears to be decoding percent escaped characters before
passing the URI on to the destination server.  (So, for example, if the original
URI contains a "%2B", the destination server will see a "+".)

This is contrary to RFC 2616 (HTTP/1.1), which says 'A transparent proxy MUST
NOT rewrite the "abs_path" part of the received Request-URI when forwarding it
to the next inbound server, except as noted above to replace a null abs_path
with "/".' (section 5.1.2).  In addition, it breaks a CGI I'm using.  :)

As further information, the decoding seems to be recursive to a degree.  "%252B"
is also converted into "+", but "%25252B" merely becomes "%252B".

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


Mime
View raw message