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=11265>. 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=11265 mod_rewrite fails to encode special characters ------- Additional Comments From [EMAIL PROTECTED] 2003-12-11 15:04 ------- Hi! I think this is a bug in mod_rewrite, which properly re-escapes the URI for external redirects, but not for proxy requests. See the attached log (RewriteLogLevel 9) for a request to: http://myhost.mydomain:8080/~gryf/encoded%2520space/ The httpd.conf contains a simple RewriteRule: RewriteRule ^(.*)$ http://myhost.mydomain$1 [P,L] (I known this special case is better done via ProxyPass, but it's just an example) The destination server instead sees a request for: http://myhost.mydomain/~gryf/encoded%20space/ I.e. the first level of URI encoding gets lost. I'll also attach a proposed fix for mod_rewrite.c, which - as far as I can tell by looking at the source - is also necessary for httpd-2.0 Ciao Thomas --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
