Forum: NGINX Problem trying to rewrite a URL

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 :
Please log in before posting. Registration is free and takes only a minute.
Existing account

NEW: Do you have a Google/GoogleMail, Yahoo or Facebook account? No registration required!
Log in with Google account | Log in with Yahoo account | Log in with Facebook account
No account? Register here.