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

Match URL redirections against the filter #35

Open
Archasion opened this issue Mar 6, 2023 · 0 comments
Open

Match URL redirections against the filter #35

Archasion opened this issue Mar 6, 2023 · 0 comments

Comments

@Archasion
Copy link
Contributor

Archasion commented Mar 6, 2023

Chrysanthemum currently filters out certain URLs based on a predetermined list of blocked domains. However, some users are getting around the filter by using URL shorteners or redirects to bypass the blocked domains.

To address this issue, the bot could match most (if not all) redirections of a URL against the configured filter. This should limit the number of users able to bypass a blacklisted/non-whitelisted domain.

One crate/module that could be used for this implementation is reqwest::redirect

@Archasion Archasion reopened this May 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant