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

Some tutorial demos do not work due to mixed content (Http/Https) #5

Open
nspaeth opened this issue Jul 28, 2015 · 3 comments
Open

Comments

@nspaeth
Copy link

nspaeth commented Jul 28, 2015

In Chrome 44, loading, eg.
https://dojotoolkit.org/documentation/tutorials/1.10/mobile/flickrview/part3/demo/flickrview.html

Fails with

Mixed Content: The page at 'https://dojotoolkit.org/documentation/tutorials/1.10/mobile/flickrview/part3/demo/flickrview.html' was loaded over HTTPS, but requested an insecure script 'http://api.flickr.com/services/feeds/photos_public.gne?tags=famous%2Cbridge…8112688646&jsoncallback=dojo_request_script_callbacks.dojo_request_script0'. This request has been blocked; the content must be served over HTTPS.

@itorrey
Copy link
Contributor

itorrey commented Sep 4, 2015

@nspaeth This appears to be true but I'm wondering where the link to the https is coming from? I see on the tutorial page that the link is to http://dojotoolkit.org/documentation/tutorials/1.10/mobile/flickrview/part3/demo/flickrview.html which works correctly.

@dylans
Copy link
Member

dylans commented Sep 4, 2015

My guess is the link would be coming from people using a plugin that encourages the browser to use SSL whenever possible such as https://www.eff.org/https-everywhere

@carmelowoodgett
Copy link

Not sure if this is the issue but I took a quick look at the headers coming back with the page and noticed this:

I misread the headers. It's Chrome sending the following header.

"Upgrade-Insecure-Requests: 1"

https://googlechrome.github.io/samples/csp-upgrade-insecure-requests/index.html

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

4 participants