Skip to content

Redirects with URI fragments & query arguments handled incorrectly. #34

Description

@leewillis77

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

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions