Welcome! Log In Create A New Profile


Please help rewrite proper parameter

March 20, 2016 10:56AM

Sometimes, bots are notorious for doing that, arguments are over urlencoded. If someone knew a way to rewrite them back to their normal state, that would be awesome.


Normal URL: www.site.com/file.php?param=blahblah

URLs that bots try sometimes (often in fact - don't know where they get those strings BTW):


Tried the following in the general filter block, then into the php block, didn't help:

rewrite ^(.*)(param)\%(25)+(3D)(.*)$ $1$2=$5 redirect;
rewrite ^(.*)(param)=(.*)$ $1$2=$3 redirect;

Subject Author Posted

Please help rewrite proper parameter

shiz March 20, 2016 10:56AM

Re: Please help rewrite proper parameter

shiz April 29, 2016 02:10PM

Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 62
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