Skip to content

fix(frontend generator): encode spaces in query string parameters#149

Merged
mcollina merged 3 commits into
platformatic:mainfrom
rozzilla:fix/frontend-generator/encode-spaces-in-query-string-parameters
May 21, 2026
Merged

fix(frontend generator): encode spaces in query string parameters#149
mcollina merged 3 commits into
platformatic:mainfrom
rozzilla:fix/frontend-generator/encode-spaces-in-query-string-parameters

Conversation

@rozzilla
Copy link
Copy Markdown
Contributor

@rozzilla rozzilla commented May 18, 2026

URLSearchParams.toString() serializes spaces as + (application/x-www-form-urlencoded format) instead of %20 (RFC 3986). This causes issues with servers that do not decode + as a space in URL query strings.

Signed-off-by: Roberto Bianchi <roberto.bianchi@spendesk.com>
rozzilla added 2 commits May 18, 2026 15:59
Signed-off-by: Roberto Bianchi <roberto.bianchi@spendesk.com>
Signed-off-by: Roberto Bianchi <roberto.bianchi@spendesk.com>
Copy link
Copy Markdown
Member

@mcollina mcollina left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@mcollina mcollina merged commit 18fad4a into platformatic:main May 21, 2026
16 checks passed
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.

3 participants