Forum: NGINX Problem trying to rewrite a URL

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.
2974d09ac2541e892966b762aad84943?d=identicon&s=25 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
 searching.

 Google indexed urls containing ";", which gets escaped to %3b:

http://hoidulich.com/index.php?action=tagged%3bid=...
 (the original url that works is
 http://hoidulich.com/index.php?action=tagged;id=25...)

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

Posted at Nginx Forum:
http://forum.nginx.org/read.php?2,246052,246052#msg-246052
526b09f2b949aae346eda86df5827b1f?d=identicon&s=25 "António P. P. Almeida" <appa@perusio.net> (Guest)
on 2014-01-08 09:12
(Received via mailing list)
AFAIK nginx has no directive for unescaping URLs. You could do it with
Lua
or go down a messy path of map directives listing all arguments with
permutations.

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
IMO.
Le 6 janv. 2014 05:55, "hoidulich" <nginx-forum@nginx.us> a crit :
This topic is locked and can not be replied to.