URL Unescaping in rewrite

Ankur Gupta ankur655 at gmail.com
Fri May 29 06:07:35 MSD 2009


Hello,
 When trying to rewrite a URL like:     /a/b to ?q=a&i=b

 when a is something of the form  "XYZ%26300"

 the rewritten URL becomes ?q=XYZ&300&i=b

 Why does nginx unescape the URL on rewrite and how can this be avoided?

Thanks,
Ankur
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://nginx.org/pipermail/nginx/attachments/20090528/e0377399/attachment.html>


More information about the nginx mailing list