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 ------- Additional Comments From [EMAIL PROTECTED] 2003-04-27 09:37 ------- A reverse proxy doesn't need to be transparent. It may be as well a caching proxy, that approached the backend server only if it doens't have a fresh copy of the requested object. There fore, it MAY alter the URL. However, there is a bug in this alteration: In the reverse proxy case, unescaping is done twice. In the first unesacping, the core does this for any non-proxy request. However, this is done before reverse proxy requests are identified by matching the URL with ProxyPass directives. Therefore, the second unescaping, in the function ap_proxy_canonenc in proxy_util.c, should be done only for a standard proxy, and not for a reverse proxy, and the line if (isenc && ch == '%') { (proxy_util.c:206 in httpd_2.0.45) should be replaced by if (isenc == PROXYREQ_PROXY && ch == '%') { --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
