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=23295>. 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=23295 Escape problem in mod_rewrite [P] action... ------- Additional Comments From [EMAIL PROTECTED] 2004-04-02 18:54 ------- Ignore that code. Escaping of URL parts and query terms is happening OK. For me, the problem was occurring when I moved a piece of text from the path to the query string. For example: RewriteRule ^foo/(.*) http://another.host.name/foo?page=$1 [qsappend,P] In this case, $1 will not be escaped correctly for the query string: it could still contain unescaped ampersands, question marks or equals. To fix this, one can easily encode $1 using an external program (or hack the source to use a form-encoder natively, as I did.) --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
