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
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