AlistGo / AlistGo/alist-web

Chrome浏览器不允许从https站点下载http链接

Open
#182 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
479
Forks
703
PR merge metrics
No merged PRs in 30d

Description

当Alist配置https后,就没法再通过直连(存储设置中关闭Web代理)的方式下载文件了,尤其是存储后端是另一个Alist实例时。

具体现象为点击文件的下载按钮,新窗口一闪而过,什么事情都没有发生,也没有开始下载。必须要手动复制链接,然后粘贴到新页面里才能下载。

Chrome控制台此时会显示以下的错误:

Mixed Content: The site at 'https://xxx.com/' was loaded over a secure connection, but the file at 'https://xxx.com/xxx' was redirected through an insecure connection. This file should be served over HTTPS. See https://blog.chromium.org/2020/02/protecting-users-from-insecure.html for more details.

这个问题仅在Chrome浏览器上发现,Edge暂时可以正常下载。

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.