Safari 9禁止运行不安全的内容? [英] Safari 9 disallowed running of insecure content?

查看:356
本文介绍了Safari 9禁止运行不安全的内容?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

升级到Safari 9后,我在浏览器中收到此错误:

after upgrading to Safari 9 I'm getting this error in the browser:

[Warning] [blocked] The page at https://localhost:8443/login was not allowed to run insecure content from http://localhost:8080/assets/static/script.js.

任何人都知道如何在新的Safari中启用不安全内容的运行吗?

Anyone knows how to enable the running of insecure content on the new Safari?

推荐答案

根据

According to the Apple support forums Safari does not allow you to disable the block on mixed content.

尽管这在像您这样的合法情况下使可用性令人沮丧,但这似乎是他们强迫提供安全内容/最佳实践内容的努力的一部分.

Though this is frustrating for usability in legitimate cases like yours, it seems to be part of their effort to force secure content serving / content serving best practices.

作为您的解决方案,您可以将HTTP连接升级到HTTPS(似乎已经完成),也可以通过HTTPS连接和启用HTTPS的服务(或端口)来代理您的内容.

As a solution for you you can either upgrade the HTTP connection to HTTPS (which it seems you have done) or proxy your content through an HTTPS connection with an HTTPS-enabled service (or, in your case, port).

这篇关于Safari 9禁止运行不安全的内容?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆