microsoft / AzUrlShortener

An simple and easy Url Shortener
MIT License
520 stars 564 forks source link

Protect the user - Preview the URL before redirecting them #22

Open surlydev opened 4 years ago

surlydev commented 4 years ago

Problem: URL shorteners are notoriously abused to redirect users to malware sites, or pornographic images.

Example: a website with text that says 'My friend Frank's CV' could redirect to www.surlydev.net/me-in-a-mankini.jpg (please note: such a photo does NOT exist)

Resolution: Display a popup message / form before redirecting, allowing the user to see the actual URL. Discord does this in the mobile app like this ... image

┆Issue is synchronized with this Trello card by Unito

FBoucher commented 4 years ago

Interesting. Where did you see that feature @surlydev ?

surlydev commented 4 years ago

That particular example (screenshot) was from the Discord mobile app. But, I have seen it implemented in a web browser / website that I used to use for shortening URLs years ago.

MichaelHumplEnBW commented 4 years ago

My PR #190 now includes such a page.