Closed (fixed)
Project:
Drupal core
Version:
9.3.x-dev
Component:
language.module
Priority:
Critical
Category:
Task
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
5 Oct 2021 at 18:40 UTC
Updated:
12 Jul 2022 at 09:02 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
alexpottIn the meta issue I did:
parse_str($request->getQueryString() ?? '', $query);But on re-examining the code this is unnecessarily complex - calling $request->getQueryString() parses and then builds the query string again! Which is completely unnecessary - elsewhere in core we do $request->query->all() and I can't think of a reason why we shouldn't here.
Comment #3
andypostwithout fix test fails
after patch there's still unrelated
Comment #4
andypostThe only difference I bet is sorting -
\Symfony\Component\HttpFoundation\Request::normalizeQueryString()sort keysComment #5
larowlanCommitted c9bcb2c and pushed to 9.3.x. Thanks!
Comment #8
mozh92 commentedHello, I found deprecated code in file LanguageNegotiationContentEntity.php yet
Comment #9
andypost@mozh92 please file new issue instead of adding patches to closed one