unshort.link icon indicating copy to clipboard operation
unshort.link copied to clipboard

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

Open simonfrey opened this issue 5 years ago • 1 comments

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

simonfrey avatar Feb 06 '20 17:02 simonfrey

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

Madydri avatar May 27 '21 20:05 Madydri