encoded vs un-encoded URLs in requests are treated the same

idabic nginx-forum at nginx.us
Thu Oct 2 12:48:07 UTC 2014


Hello!

How correct is the assumption that nginx will always treat Encoded URLs in
requests same as un-encoded unless processing of urls is manually overridden
by custom rules to intercept requests and change the cache key?

Note: nginx is configured as reverse proxy

Bottom line is, I have a client who needs to have urls like:

%2Fpath%2to%2Ffile.ext

treated differently than:

/path/to/file.ext

because origin is returning different content if url is encoded.

Any thoughts ?

Posted at Nginx Forum: http://forum.nginx.org/read.php?2,253703,253703#msg-253703



More information about the nginx mailing list