Skip to content
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

[HttpClient] Fix over-encoding of URL parts to match browser's behavior #49299

Merged
merged 1 commit into from Feb 10, 2023

Conversation

nicolas-grekas
Copy link
Member

Q A
Branch? 5.4
Bug fix? yes
New feature? no
Deprecations? no
Tickets Fix #48315
License MIT
Doc PR -

Yes, the RFC says these chars should be url-encoded:

[ ] \ ^ ` { | }

But in practice, browser's don't encode them, and some servers don't expect them to be encoded either.
See https://stackoverflow.com/questions/2366260/whats-valid-and-whats-not-in-a-uri-query for some pointers.

@carsonbot carsonbot added this to the 5.4 milestone Feb 8, 2023
@nicolas-grekas nicolas-grekas changed the title Remove unused data provider [HttpClient] Fix over-encoding of URL parts to match browser's behavior Feb 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants