Bug with hash symbol in submitted form fields

Pixton
Participant

To reproduce this bug:

1. Create a form with a text field in it, which maps to a contact property (let's call it "address")

2. Create an automated email that includes a link whose URL includes said contact property as a query string parameter (e.g. https://www.mydomain.com/redirectToForm?address={{contact.address}} ). 

 

Everything works as expected, unless the value submitted for 'address' contains a has symbol (#). In that case, the hash symbol isn't escaped. Let's say the value "#3-276 Second Ave." is submitted as the address. The URL in the email ends up being something like: https://www.mydomain.com/redirectToForm?address=#3-276%20Second%20Ave.

 

Am I missing something, or does Hubspot need to fix this?

0 Upvotes
1 Reply 1
dennisedson
Community Manager

@Bryantworks can you reproduce this?

If so, I can bring to the team to see if this intentional or not

Thanks,

Dennis




Check out our Community Developer Blog
where we feature our Community driven developer podcast and how to content
0 Upvotes