simonfrey / unshort.link

Prevent short link services from tracking you by unshortening the urls for your
https://unshort.link
GNU Affero General Public License v3.0
174 stars 25 forks source link

Adapt blacklist implementation to work with complete urls instead of only hosts #44

Open simonfrey opened 4 years ago

simonfrey commented 4 years ago

As it would be nice to add the urlhaus blacklist [see #42) source to unshort.link it would be required to change the blacklist implementation to support complete urls instead of only hosts.

This will make the blacklist check more costly, but would be a nice feature to protect against e.g. viruses on pastebin: https://github.com/simonfrey/unshort.link/blob/master/server/blacklist/blacklist.go#L115-L122

Madydri commented 3 years ago

+1 as phishing sites URL can be inside innocent domains whose owner does not know it is present