<p dir="ltr">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. </p>
<p dir="ltr">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.</p>
<div class="gmail_quote">Le 6 janv. 2014 05:55, "hoidulich" <<a href="mailto:nginx-forum@nginx.us">nginx-forum@nginx.us</a>> a écrit :<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi all,<br>
<br>
I have a problem trying to rewrite a URL.<br>
<br>
It should be pretty straightforward but it has been taking me hours<br>
searching.<br>
<br>
Google indexed urls containing ";", which gets escaped to %3b:<br>
<br>
<a href="http://hoidulich.com/index.php?action=tagged%3bid=254715%3btag=vietholiday" target="_blank">http://hoidulich.com/index.php?action=tagged%3bid=254715%3btag=vietholiday</a><br>
(the original url that works is<br>
<a href="http://hoidulich.com/index.php?action=tagged;id=254715;tag=vietholiday" target="_blank">http://hoidulich.com/index.php?action=tagged;id=254715;tag=vietholiday</a>)<br>
<br>
How can I fix it?<br>
Thank you very much.<br>
Cao Tri.<br>
<br>
Posted at Nginx Forum: <a href="http://forum.nginx.org/read.php?2,246052,246052#msg-246052" target="_blank">http://forum.nginx.org/read.php?2,246052,246052#msg-246052</a><br>
<br>
_______________________________________________<br>
nginx mailing list<br>
<a href="mailto:nginx@nginx.org">nginx@nginx.org</a><br>
<a href="http://mailman.nginx.org/mailman/listinfo/nginx" target="_blank">http://mailman.nginx.org/mailman/listinfo/nginx</a><br>
</blockquote></div>