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
Comment #2
cilefen commentedSeems like #2984272: Dots in query parameter names converted to underscores perhaps.
Comment #3
aaronpinero commented@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.
Comment #4
aaronpinero commentedI'm going to close this as duplicate since the referenced issue already has a patch.