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=20705>. 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=20705 mod_rewrite URLencodes a matched path Summary: mod_rewrite URLencodes a matched path Product: Apache httpd-2.0 Version: 2.0.45 Platform: PC OS/Version: Linux Status: NEW Severity: Normal Priority: Other Component: mod_rewrite AssignedTo: bugs@httpd.apache.org ReportedBy: [EMAIL PROTECTED] Here's what has been observed: We want to redirect everything to an SSL-ed site: RewriteEngine On RewriteRule ^/(.*) https://secure.host.com/$1 [L,R=301] But now a Bugzilla URL comes your way: /bugzilla/token.cgi?a=cfmpw&t=fsSd%40ZkT ^ and it is rewritten (as it should) The URL that is then used actually gives access to the SSL-ed site but with the '%' URLencoded, i.e. the path becomes: /bugzilla/token.cgi?a=cfmpw&t=fsSd%2540ZkT ^^^ This causes trouble. IMHO, mod_rewrite should NOT try to URLencode path parts that came from regexp matches. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]