Skip to content

Conversation

@nicolas-grekas
Copy link
Member

Q A
Branch? 6.4
Bug fix? yes
New feature? no
Deprecations? no
Issues -
License MIT

This PR implements stricter parsing of URL hosts and schemes.
It hardens the codebase by making our interpretation or URLs closer to the spec.
This should help close potential semantic gaps between different layers of infrastructure.
The robustness principle is dead.

This topic has been raised by @zer0yu @P3ngu1nW @9vvert - thanks to them!

@nicolas-grekas nicolas-grekas merged commit cd205e4 into symfony:6.4 Nov 6, 2025
10 of 11 checks passed
This was referenced Nov 6, 2025
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.

2 participants