4 ms·
Steven Black's hosts compilation [1] is a good start for what to disallow. For URL shorteners, you could disallow URLs that trigger an HTTP redirect (e.g. HTTP
by schmich 9y ago
Steven Black's hosts compilation [1] is a good start for what to disallow. For URL shorteners, you could disallow URLs that trigger an HTTP redirect (e.g. HTTP 301), or you could follow the chain of redirects and apply your rules to the terminal URL.
[1] https://github.com/StevenBlack/hosts https://github.com/StevenBlack/hosts
- always_good 9y agoIf you disallow redirect, it should allow redirects to the same domain.