Nginx as proxy: automatically decoding URL-encoded URLs?

Igor Sysoev is at rambler-co.ru
Wed Jan 28 22:59:05 MSK 2009


On Wed, Jan 28, 2009 at 07:56:01PM +0000, Jason Davies wrote:

> Just been playing with using nginx as a proxy and it seems to be  
> automatically decoding URLs that contain URL-encoded chars (e.g. /foo/ 
> bar%2Fbaz -> /foo/bar/baz) - is there any way to turn this off?

     location / {
         proxy_pass http://backend;
     }

i.e.:

-        proxy_pass http://backend/;
+        proxy_pass http://backend;


-- 
Igor Sysoev
http://sysoev.ru/en/





More information about the nginx mailing list