Welcome! Log In Create A New Profile

Advanced

Rewrite automatically unencodes question mark.

August 08, 2012 07:08AM
Hello,

I have this rewrite rule.

rewrite ^(.+)$ $url? permanent;

where $url is "http://example.com/ez/ciaapkznke/&subid1=1&lnkurl=http://www.someotherwebsite.com/books%3Faffid%3Dtyroo%26cmpid%3Daffiliate_promo_tyroo"

However its redirected to

where $url is "http://example.com/ez/ciaapkznke/&subid1=1&lnkurl=http://www.someotherwebsite.com/books?affid%3Dtyroo%26cmpid%3Daffiliate_promo_tyroo"

%3F got changed to ? which i dont intend to...

Any help?
Subject Author Posted

Rewrite automatically unencodes question mark.

jimishjoban August 08, 2012 07:08AM

Re: Rewrite automatically unencodes question mark.

jimishjoban August 08, 2012 01:12PM

Re: Rewrite automatically unencodes question mark.

Maxim Dounin August 08, 2012 02:00PM

Re: Rewrite automatically unencodes question mark.

jimishjoban August 14, 2012 10:29AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 92
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready