Forum: NGINX Nginx as proxy: automatically decoding URL-encoded URLs?

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
F9dd9f4c2b8d081b67fe34769e24808e?d=identicon&s=25 Jason Davies (Guest)
on 2009-01-28 21:03
(Received via mailing list)
Hi all,

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?

--
Jason Davies

www.jasondavies.com
5640e332954fc0006aea97a155ce0afd?d=identicon&s=25 Igor Sysoev (Guest)
on 2009-01-28 21:10
(Received via mailing list)
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;
This topic is locked and can not be replied to.