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-fo...@nginx.us> a écrit :

> 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
>
> _______________________________________________
> nginx mailing list
> nginx@nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx
>
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx

Reply via email to