Underscore in GET-query and $args

EveryonE nginx-forum at nginx.us
Fri Oct 23 23:33:22 MSD 2009

If HTTP GET in query string contains underscore (_) as %5F:
f.e. GET /index.php?user%5Fid=50
then I can't check this with
if ($arg_user_id ~* ^50$)
if ($arg_user%5Fid ~* ^50$).

For GET /index.php?user_id=5 all fine.

Posted at Nginx Forum: http://forum.nginx.org/read.php?21,16373,16373#msg-16373

More information about the nginx-ru mailing list