Remove whitespaces from $args

Hett nginx-forum at forum.nginx.org
Fri Apr 29 06:17:15 UTC 2016


Hi,
I using third-party software, 
in some cases users create not valid url, and I want to fix it
for example:
http://xx.yy/xx/yy/?a=1&b=1 2 3.txt
need replace by:
http://xx.yy/xx/yy/?a=1&b=123.txt

Posted at Nginx Forum: https://forum.nginx.org/read.php?2,266482,266511#msg-266511



More information about the nginx mailing list