Skip to content
This repository was archived by the owner on May 25, 2023. It is now read-only.

Fixes jQuery loading script tag #1789

Closed
wants to merge 1 commit into from
Closed

Conversation

shamanime
Copy link

Added missing http: to the jQuery script tag

Added missing http: to the jQuery script tag
@blueimp
Copy link
Owner

blueimp commented Oct 22, 2012

Why is the protocol ("http:") missing from the script references in the HTML source code?

This is called a protocol relative url and a perfectly valid way to define a resource, relative to the current URL protocol.
This ensures that the referenced scripts are loaded via the same protocol as the current page, which avoids security notifications when loading resources via unencrypted HTTP on a page loaded via HTTPS.

However, it also requires that the current protocol is either "http:" or "https:" and will not work on a "file:" url.

https://github.com/blueimp/jQuery-File-Upload/wiki/Frequently-Asked-Questions

@blueimp blueimp closed this Oct 22, 2012
@shamanime shamanime deleted the patch-1 branch April 17, 2013 21:53
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants