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 2004/04/01 04:10:06 UTC

DO NOT REPLY [Bug 24873] - ProxyPass doesn't pass some URIs

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=24873>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=24873

ProxyPass doesn't pass some URIs





------- Additional Comments From hudson@mbay.net  2004-04-01 02:10 -------
Observed with the '%' (%25) character specifically.  mod_proxy appears to be
decoding (some?) special characters before forwarding.  So, "proxyserver"
decodes %2525 to %25, resulting in a valid request to the final web server
"webserver":

$ curl http://webserver/proxytest/test%25file.txt
<TT>This is a test of a file with a % (%25) character in it's name.</TT>

$ curl http://proxyserver/proxytest/test%25file.txt
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>400 Bad Request</title>
</head><body>
<h1>Bad Request</h1>
<p>Your browser sent a request that this server could not understand.<br />
</p>
</body></html>

$ curl http://proxyserver/proxytest/test%2525file.
<TT>This is a test of a file with a % (0x25) character in it's name.</TT>

Note that the space (%20) character does not need special treatment:
$ curl http://proxyserver/proxytest/test%20file.txt
<TT>This is a test of a file with a space (0x20) character in it's name.</TT>

Relevant config entries:
ProxyRequests Off
<Proxy *>
Order deny,allow
Allow from all
</Proxy>
ProxyPass /proxytest/ http://webserver/proxytest/

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