Skip to content

[SPIP] Support SMS with spaces#76

Open
tokland wants to merge 2 commits into2.40.4.1from
workaround/sms-disable-encoding-for-json-body
Open

[SPIP] Support SMS with spaces#76
tokland wants to merge 2 commits into2.40.4.1from
workaround/sms-disable-encoding-for-json-body

Conversation

@tokland
Copy link
Copy Markdown

@tokland tokland commented Feb 11, 2025

Required by https://app.clickup.com/t/8696nmumu

Motivation: When a SMS message body is "word1 word", the final request is "word1+word". This URL encoding makes sense when the body is part of a query string, but that's not our use case (nor the typical use case), when we POST the body as JSON, so no encoding is required. We add a conditional so we do not break URL mode.

@adrianq adrianq changed the title [fix] support SMS with spaces [SPIP] Support SMS with spaces Feb 11, 2025
@MatiasArriola MatiasArriola force-pushed the workaround/sms-disable-encoding-for-json-body branch from 51632e2 to ea4d9e6 Compare February 19, 2025 22:00
@MatiasArriola MatiasArriola mentioned this pull request Jul 18, 2025
8 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants