-
Notifications
You must be signed in to change notification settings - Fork 463
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When there is an apostrophe in the body the validation of the webhook fails #528
Comments
Debugging a little it appears as if the gem encodes the |
This issue has been added to our internal backlog to be prioritized. Pull requests and 1s on the issue summary will help it move up the backlog. |
Twilio support gave me the workaround of making the Webhook a POST instead of a GET. My code is now as follows:
|
Same issue described above was happening to me. It was happening because the url contained a query parameter that had an apostraphe in the value The fix for me was to double encode the query parameters before sending the request to twilio. If the signature generated by Twilio decodes special charecters including those in the url as query parameter values, the library should do decoding along with parsing on validate |
Issue Summary
An apostrophe in the body of a text message causes validation of Twilio webhook to fail
Steps to Reproduce
Code Snippet
Technical details:
The text was updated successfully, but these errors were encountered: