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: [email protected]
        ReportedBy: [EMAIL PROTECTED]


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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to