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

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

Open
asforest opened this issue Jul 2, 2024 · 2 comments
Open

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

asforest opened this issue Jul 2, 2024 · 2 comments

Comments

@asforest
Copy link

asforest commented Jul 2, 2024

当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暂时可以正常下载。

@BrandonStudio
Copy link

网站内容设置,允许不安全的内容

@IAALAI
Copy link

IAALAI commented Jul 26, 2024

你放心要不了多久 edge 就要追上了。这玩意根本不是BUG。。。按照现在浏览器的规范,https就是不允许发起对于http的请求

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

3 participants