Skip to content

Conversation

@GrahamCampbell
Copy link
Collaborator

Backports #57783.

…7.4 (#57783)

* [12.x] Fix `Request::getAcceptableContentTypes()` changes in Symfony 7.4

Symfony 7.4 changes the return value of `getAcceptableContentType()` to
include additional value after `;`. E,g: `application/json; charset=utf-8` returns `application/json` in 7.3 and
below while 7.4 return the full value.

Signed-off-by: Mior Muhammad Zaki <crynobone@gmail.com>

* wip

Signed-off-by: Mior Muhammad Zaki <crynobone@gmail.com>

---------

Signed-off-by: Mior Muhammad Zaki <crynobone@gmail.com>
@taylorotwell taylorotwell merged commit 3b3c9f9 into 11.x Nov 17, 2025
61 checks passed
@taylorotwell taylorotwell deleted the 11.x-backport-57783 branch November 17, 2025 22:04
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.

4 participants