Manipulate URLs for HTTPS sites?


(Stephen) #1

Some of our readers have attempted to share imgur links in posts, only to find that as our Discourse site is HTTPS-only the image won’t embed correctly.

Is there any scope add a whitelist for sites which are known to offer SSL and automatically convert URLs from HTTP to HTTPS?


(Kane York) #2

When an image is oneboxed, this already happens:

http://i.imgur.com/uSgz83b.jpg

generates a link to https://i.imgur.com/uSgz83b.jpg, as seen here:

(replaced with a smaller image)


(Stephen) #3

That’s the other part of the problem, new users posting imgur links in this format:

https://imgur.com/uSgz83b