Regarding URL Encode/Decode of the Parameter

m.i nginx-forum at forum.nginx.org
Fri Jul 28 03:44:29 UTC 2017


Hello, I have a following problem with Nginx. Here is the scenario.

There is a client app that sends request to Nginx Proxy with following
parameter. The parameter is already url encoded.
GET /X/Y/Z.aspx?id=abc%3D%3D

Now, I noticed that Nginx applies url encode to % and make it as %25 when it
redirect the message. The parameter now become below.
GET /X/Y/Z.aspx?id=abc%253D%253D

I want Nginx to redirect the parameter as is. Below is the one that I want
Nginx to redirect.
GET /X/Y/Z.aspx?id=abc%3D%3D

Could you please, help me out to do what I want?

Any suggestions are very much welcome!

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



More information about the nginx mailing list