Forum: NGINX Problem trying to rewrite a URL

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
hoidulich (Guest)
on 2014-01-06 05:55
(Received via mailing list)
Hi all,

 I have a problem trying to rewrite a URL.

 It should be pretty straightforward but it has been taking me hours

 Google indexed urls containing ";", which gets escaped to %3b:
 (the original url that works is;id=25...)

How can I fix it?
Thank you very much.
Cao Tri.

Posted at Nginx Forum:,246052,246052#msg-246052
"António P. P. Almeida" <> (Guest)
on 2014-01-08 09:12
(Received via mailing list)
AFAIK nginx has no directive for unescaping URLs. You could do it with
or go down a messy path of map directives listing all arguments with

Rather what you need to do is fix your application so that it accepts
escaped URLs. They're standard and there's no reason why it shouldn't
Le 6 janv. 2014 05:55, "hoidulich" <> a crit :
This topic is locked and can not be replied to.