Skip to content

Rest path non-ASCII encoding bug#1602

Open
lmasroca wants to merge 6 commits into
masterfrom
rest-path-nonascii-encoding-bug
Open

Rest path non-ASCII encoding bug#1602
lmasroca wants to merge 6 commits into
masterfrom
rest-path-nonascii-encoding-bug

Conversation

@lmasroca

Copy link
Copy Markdown
Collaborator

RestPath was not percent-encoding non-ASCII characters when they appeared as path parameters, as URI(null, null, path, null, null).rawPath leaves non-ASCII characters as-is instead of percent-encoding them. Switching from rawPath to toASCIIString() changes that, applying percent-encoding to non-ASCII characters.

@lmasroca lmasroca requested a review from jgaleotti June 19, 2026 19:26
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.

1 participant