Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow query arguments to be ignored for matching, and passed through #20

Open
fklein-lu opened this issue Jun 15, 2018 · 0 comments
Open
Milestone

Comments

@fklein-lu
Copy link
Contributor

A common use case for extra query arguments in URLs is Google Analytics data.

We should offer a filter that allows the whitelisting of a set of query arguments. These will be ignored for matching a redirect, but will be appended to the found redirect.

As an example, when _ga is whitelisted, http://example.com/article/?_ga=123 would be matched as http://example.com/article/, and the redirect would then be http://example.com/other-article/?_ga=123.

This enables tracking information to be relayed even when redirects are used.

@fklein-lu fklein-lu added this to the 1.0 milestone Jun 15, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant