It would probably make sense to keep the user on HTTPS version of StackOverflow when he opens an HTTPS short URL like https://stackoverflow.com/a/12345678
.
Currently, the user is automatically redirected to HTTP regardless of whether the protocol of the original short URL is secure HTTPS or regular HTTP.
http
location. Are you using HTTPEverywhere perhaps? – Martijn Pieters♦ Apr 10 '17 at 19:55