bgrins / spectrum

The No Hassle JavaScript Colorpicker

Home Page:https://bgrins.github.io/spectrum/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Download link blocked over HTTPS in Chrome

bch36 opened this issue · comments

commented

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.