Patch for nginx handling of X-Accel-Redirect URLs

vitalif at vitalif at
Wed Feb 1 23:27:27 UTC 2012

A new version of patch, unescaping in ngx_http_parse_unsafe_uri()...
Note that it required removing if (ch == ?) blocks that come AFTER 
decoding the character (I don't understand their purpose, they seem 
incorrect, as escaped '?' does not mean the beginning of query string).
And I still don't understand what NGX_UNESCAPE_REDIRECT is... :-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch-nginx-x-accel-uri-parsing.diff
Type: text/x-c
Size: 1898 bytes
Desc: not available
URL: <>

More information about the nginx-devel mailing list