City-of-Bloomington / url_shortener

Short URL web service
GNU Affero General Public License v3.0
2 stars 1 forks source link

Show interstitial preview for links #4

Closed inghamn closed 1 year ago

inghamn commented 1 year ago

Often, we want to assure citizens who follow our tiny links that we're not trying to trick them into going to nefarious websites. Because the tinyurls and the QRCodes are opaque, we can try to set them at ease by rendering a webpage at the ShortURL location, instead of just doing an immeditate 302 redirect.

The page rendered at the Short URL location should show the Short URL as well as the Original URL they're going to. We could probably even show the QRCode...people could be arriving having used the QRCode on their phones.