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

[HttpFoundation] Make Request::getPayload() return an empty InputBag if request body is empty #50730

Merged
merged 1 commit into from
Jun 21, 2023

Conversation

nicolas-grekas
Copy link
Member

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

Not calling toArray() because we don't want to call getContent() twice.

@nicolas-grekas nicolas-grekas merged commit 8199380 into symfony:6.3 Jun 21, 2023
7 checks passed
@nicolas-grekas nicolas-grekas deleted the hf-empty-payload branch June 21, 2023 16:22
@fabpot fabpot mentioned this pull request Jun 26, 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