# Access to query param with dashes in the name

**URL:** <https://www.ruby-forum.com/t/access-to-query-param-with-dashes-in-the-name/235901>\
**Category:** NGINX\
**Created:** [July 23, 2013, 2:56pm UTC](https://www.ruby-forum.com/t/access-to-query-param-with-dashes-in-the-name/235901 "2013-07-23T14:56:20Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![addis\_a](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/c4cdca/32.png) [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Post date:** [July 23, 2013, 2:56pm UTC](https://www.ruby-forum.com/t/access-to-query-param-with-dashes-in-the-name/235901/1 "2013-07-23T14:56:20Z")

</div>

Hi,  
for the http header Nginx Nginx convert the dashes in the header name  
to  
underscores.  
I have a query string with a param with a dash in the name, but i can’t  
see  
it with $arg\_PARAMETER variable.  
There is a way to have the value of this parameter in a variable?  
For example my query string is:  
response-content-disposition=attachment  
I know i can parse manually the query string, but I think if there is an  
Nginx embeded function, this function could by faster than a manual  
parsing.  
Regards,

Luca

Posted at Nginx Forum:

> **[Access to query param with dashes in the name](https://forum.nginx.org/read.php?2,241144,241144#msg-241144)**
>
> Hi, for the http header Nginx Nginx convert the dashes in the header name to underscores. I have a query string with a param with a dash in the name, but i can't see it with $arg\_PARAMETER variable. There is a way to have the value of this parameter...
