alist-web
alist-web copied to clipboard
Chrome浏览器不允许从https站点下载http链接
当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暂时可以正常下载。