City-of-Bloomington/url_shortener

Show interstitial preview for links

Closed this issue · 0 comments

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.