Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

JavaScript exceptions on HTTPS #15

Closed
Krinkle opened this issue Apr 23, 2013 · 0 comments
Closed

JavaScript exceptions on HTTPS #15

Krinkle opened this issue Apr 23, 2013 · 0 comments

Comments

@Krinkle
Copy link
Contributor

Krinkle commented Apr 23, 2013

I like that dpaste has a properly set up HTTPS domain (valid certificate, all urls relative so you stay on HTTPS etc.)

However one problem. jQuery is loaded from a fixed HTTP url (http://code.jquery.com/jquery.js) which is blocked by modern browsers over HTTPS.

Perhaps host is locally or load it from a CDN that does support HTTPS (such as Google APIs):

<script src="//ajax.googleapis.com/ajax/libs/jquery/1/jquery.js"></script>

By using protocol-relative urls it'll load it from http or https based on the current request.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant