Re:My first project in Rails – Pastebin for Mathematicians
by huy on Wednesday September 04, 2013 @01:03PM
(#6328876)
Thanks for the report. Will be working on it!
[ Parent
| on HN ]
Re:My first project in Rails – Pastebin for Mathematicians
by jawnb on Wednesday September 04, 2013 @01:15PM
(#6328953)
On the CDN urls, you can just change them to use protocol relative urls.
It Looks like the jquerytools cdn doesn't support HTTPS, but you should be okay to use this one from cloudflare
//cdnjs.cloudflare.com/ajax/libs/jquery-tools/1.2.7/jquery.tools.min.js
Here's a texpaste showing what you should change your script src's to. https://texpaste.herokuapp.com/n/lyoitffa
Re:My first project in Rails – Pastebin for Mathematicians
by SanderMak on Wednesday September 04, 2013 @01:47PM
(#6329138)
Note that this won't work for MathJax, since the certificate won't match the domain. For a workaround: http://www.mathjax.org/resources/faqs/#problem-https
Re:My first project in Rails – Pastebin for Mathematicians
by steveklabnik on Wednesday September 04, 2013 @02:48PM
(#6329578)
> protocol relative urls.
Fun bit of trivia: these are actually called 'network path references.' http://tools.ietf.org/html/rfc3986.html#section-4.2
Re:My first project in Rails – Pastebin for Mathematicians
by huy on Wednesday September 04, 2013 @01:23PM
(#6329000)
Thank you for going the extra mile.
On a seperate note, I'm surprised that people actually try it on the https version (or be extra careful and manually add the https).
Re:My first project in Rails – Pastebin for Mathematicians
by tyilo on Wednesday September 04, 2013 @01:29PM
(#6329043)
HTTPS Everywhre does it automatically for known sites that support https, eg. *.herokuapp.com
Re:My first project in Rails – Pastebin for Mathematicians
by lccarrasco on Wednesday September 04, 2013 @01:29PM
(#6329045)
Many have plugins in their browsers that automatically try to get the https version of any website.