# Dot inside query string not converted to underscore

**URL:** <https://discourse.nodered.org/t/dot-inside-query-string-not-converted-to-underscore/722>\
**Category:** General\
**Created:** [9 June 2018 18:41 UTC](https://discourse.nodered.org/t/dot-inside-query-string-not-converted-to-underscore/722 "2018-06-09T18:41:59Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![hutje](https://avatars.discourse-cdn.com/v4/letter/h/43a26b/32.png) [@hutje](https://discourse.nodered.org/u/hutje)\
**Post date:** [9 June 2018 18:41 UTC](https://discourse.nodered.org/t/dot-inside-query-string-not-converted-to-underscore/722/1 "2018-06-09T18:41:59Z")

</div>

When I get a HTTP Request with: [https://www.website.nl/webhooks?hub.challenge=0000](https://www.website.nl/webhooks?hub.challenge=0000)  
This query string consists of hub.challenge. I need to respond with the value of hub.challenge.

I can’t respond because the template-node can’t handle {{req.query.hub.challenge}}.  
When I try to use hub\_challenge as parameter inside the query string and change the template node it works.  
But unfortunately the Facebook API works with hub.challenge to verify your server.

I want to know how to change the msg so I can change the dot to an underscore.

---

<div class="post-metadata">

**Author:** ![knolleary](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/knolleary/32/3_2.png) [@knolleary](https://discourse.nodered.org/u/knolleary)\
**Post date:** [9 June 2018 18:44 UTC](https://discourse.nodered.org/t/dot-inside-query-string-not-converted-to-underscore/722/2 "2018-06-09T18:44:34Z")

</div>

Repeating what I said on the GitHub issue you raised for this:

The mustache syntax used by the Template node does not support properties with dots in their name.

If you want to set `msg.payload` to the value of `msg.req.query["hub.challenge"]` (note the use of the bracket syntax to cope with the dot) then can use a Change node to do that.
