How to access query parameter names with '-' in it

sudarshan nginx-forum at
Wed Nov 12 08:38:03 UTC 2014

If query parameters in the request looks like this


I can access 'param_name' as $arg_param_name. How do I access 'param-name'
though? $arg_param-name will not work since as far as nginx is concerned the
variable name ends at $arg_param. Is there a workaround for this case? Has
anyone else run into a similar problem?

Posted at Nginx Forum:,254782,254782#msg-254782

More information about the nginx mailing list