URL Decoding problems

Alex Chamberlain alex at alexchamberlain.co.uk
Tue Jan 17 13:49:13 UTC 2012


Hi all,

I've got a content handler that accesses request->uri. However, if the
uri includes encoded forward slashes, these are collapsed into a
single forward slash. Is this correct behaviour? I can understand
collapsing multiple, unencoded slashes, but not encoded ones.

(Very bad, first version) code is at
https://github.com/alexchamberlain/nginx-qrcode.

An example would be
http://localhost/qr/http%3A%2F%2F%2Fwww.alexchamberlain.co.uk

Any help greatly appreciated.

Alex



More information about the nginx-devel mailing list