I am opening a core issue to reference this issue first reported under the Redirect module:
https://www.drupal.org/project/redirect/issues/3153360

User @malte.koelle provided the explanation of how to replicate the issue, and I've provided my initial analysis and a possible solution.

I did not see a related open core issue, so I am opening this one. This seems pretty serious to me since it is a problem that breaks links, which is why I've set the priority as such.

Comments

aaronpinero created an issue. See original summary.

aaronpinero’s picture

@cilefen thank you, it does look like that's related in that the bug points out the issue in UrlHelper.php. The issue does seem to be a bit larger since parse_str is used in several places on query strings.

aaronpinero’s picture

Status: Active » Closed (duplicate)

I'm going to close this as duplicate since the referenced issue already has a patch.