Welcome! Log In Create A New Profile

Advanced

%20 need to replace with -

May 05, 2015 03:00AM
Dear All,
My website is being hit by some urls that is not served properly by nginx due to some characters like %20.

http://www.abc.com?param=test (Works fine)

http://www.abc.com?param=test%20again (Do no work)
it should be something like this http://www.abc.com?param=test-again


I want to replace %20 with - (Dash). Please suggest me best regex for the same.


Thanks,
Om
Subject Author Posted

%20 need to replace with -

omverma May 05, 2015 03:00AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

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