Hello!
On Thu, Nov 13, 2014 at 09:38:17AM -0500, Jonathan Kolb wrote:
> You can also accomplish this without matching in a map:
>
> map $pipe $dashed_param {
> default $arg_param-name;
> }
While this may currently work, I wouldn't recommend relying on
this - as this is rather a bug than a de
You can also accomplish this without matching in a map:
map $pipe $dashed_param {
default $arg_param-name;
}
(I tried a geo block first, but it expanded to a literal '$arg_param-name'
for some reason)
On Wed, Nov 12, 2014 at 5:43 PM, Francis Daly wrote:
> On Wed, Nov 12, 2014 at 03:38:03AM -
On Wed, Nov 12, 2014 at 03:38:03AM -0500, sudarshan wrote:
Hi there,
> If query parameters in the request looks like this
>
> /something.cgi?param_name=1¶m-name=2
>
> 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
The solution is to access it using lua as ngx.var[ "arg_param-name" ].
Posted at Nginx Forum:
http://forum.nginx.org/read.php?2,254782,254786#msg-254786
___
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
If query parameters in the request looks like this
/something.cgi?param_name=1¶m-name=2
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 f