Skip to content

Conversation

@bobvandevijver
Copy link
Contributor

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

Fix incorrect example in getPathInfo docblock. It's return value will always start with /, so the first example cannot be an empty string.

While this is also valid for 5.4 (and was fixed there as part of CVE-2025-64500, I'm now only submitting it for 6.4.

@carsonbot carsonbot added this to the 6.4 milestone Nov 26, 2025
@carsonbot carsonbot changed the title Fix Request getPathInfo docblock Fix Request getPathInfo docblock Nov 26, 2025
@carsonbot carsonbot changed the title Fix Request getPathInfo docblock [HttpFoundation] Fix Request getPathInfo docblock Nov 29, 2025
@nicolas-grekas
Copy link
Member

Thank you @bobvandevijver.

@nicolas-grekas nicolas-grekas merged commit baf4a16 into symfony:6.4 Dec 1, 2025
10 of 11 checks passed
@bobvandevijver bobvandevijver deleted the fix-pathinfo-doc branch December 2, 2025 07:29
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.

3 participants