httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 49746] mod_rewrite urlencode option
Date Thu, 12 Aug 2010 20:24:08 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=49746

Jason Martin <jhmartin@toger.us> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P2                          |P4
             Status|RESOLVED                    |REOPENED
         Resolution|WORKSFORME                  |

--- Comment #2 from Jason Martin <jhmartin@toger.us> 2010-08-12 16:24:06 EDT ---
This does not appear to work for escaping query-string arguments, as the & sign
is not being escaped:

(5) map lookup OK: map=escape key=foo=bar&zed=zee&fib/fib ->
val=foo=bar&zed=zee&fib/fib

This is with
Apache/2.2.15 (Unix) mod_ssl/2.2.15 OpenSSL/1.0.0 

I'm using
RewriteMap escape int:escape
and
${escape:%{QUERY_STRING}} in the rewrite rule.

wget -O- "http://www.example.com/?foo=bar&zed=zee&fib/fib"

Perhaps there is use in adding another map function with a more comprehensive
translation list?

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

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


Mime
View raw message