Problem trying to rewrite a URL

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=254715%3Btag=vietholiday
(the original url that works is
http://hoidulich.com/index.php?action=tagged;id=254715;tag=vietholiday)

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

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” [email protected] a crit :

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs