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

Download link blocked over HTTPS in Chrome #568

Open
bch36 opened this issue Dec 18, 2020 · 0 comments
Open

Download link blocked over HTTPS in Chrome #568

bch36 opened this issue Dec 18, 2020 · 0 comments

Comments

@bch36
Copy link

bch36 commented Dec 18, 2020

Github allows loading project pages over either HTTP (i.e. http://bgrins.github.io/spectrum/) or HTTPS (i.e. https://bgrins.github.io/spectrum/). The "Download Zip" button links to an HTTP URL. If the project homepage is loaded in Chrome over HTTPS, then clicking the download button will fail, and trigger an error in the developer toolbar:

Mixed Content: The site at 'https://bgrins.github.io/' was loaded over a secure connection, but the file at 'https://codeload.github.com/bgrins/spectrum/zip/1.8.1' was redirected through an insecure connection. This file should be served over HTTPS. This download has been blocked. See https://blog.chromium.org/2020/02/protecting-users-from-insecure.html for more details.

I believe the fix is as simple as changing the download link to https: http://github.com/bgrins/spectrum/archive/1.8.1.zip to https://github.com/bgrins/spectrum/archive/1.8.1.zip.

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