spectrum icon indicating copy to clipboard operation
spectrum copied to clipboard

Download link blocked over HTTPS in Chrome

Open bch36 opened this issue 3 years ago • 0 comments

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.

bch36 avatar Dec 18 '20 15:12 bch36