A redirect from /foo to /bar#uri-fragment where the source URL provides non-stripped query arguments (e.g. fbclid if the standard query strings have been created) constructs the new URL incorrectly.
Expected behaviour:
/foo?fbclid=abc redirects to bar?fbclid=abc#uri-fragment
Actual behaviour:
/foo?fbclid=abc redirects to bar#uri-fragment?fbclid=abc
A redirect from
/footo/bar#uri-fragmentwhere the source URL provides non-stripped query arguments (e.g.fbclidif the standard query strings have been created) constructs the new URL incorrectly.Expected behaviour:
/foo?fbclid=abcredirects tobar?fbclid=abc#uri-fragmentActual behaviour:
/foo?fbclid=abcredirects tobar#uri-fragment?fbclid=abc