Remove whitespaces from $args

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

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:

Posted at Nginx Forum:,266482,266511#msg-266511

More information about the nginx mailing list