Welcome! Log In Create A New Profile

Advanced

Re: Problem trying to rewrite a URL

António P. P. Almeida
January 08, 2014 03:12AM
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 :

> 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
Subject Author Posted

Problem trying to rewrite a URL

hoidulich January 05, 2014 11:55PM

Re: Problem trying to rewrite a URL

António P. P. Almeida January 08, 2014 03:12AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 315
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready