IE 安全和不安全项目问题
我试图摆脱 IE 中出现的错误弹出窗口,提示“页面包含安全和非安全项目”。我已确保所有链接都指向 https:// 而不是 http://。我还查看了 fiddler 和 firebug 日志,发现所有请求都仅发送到 https:// 链接。
这是对 SO 提出的类似问题: IE - “This页面包含安全和非安全项目”
答案被接受的人击中了目标。我希望我知道他如何调试以缩小范围到该解决方案。
任何帮助表示赞赏。
谢谢
I'm trying to get rid of the error pop-up window that appears in IE saying "page contains both secure and non-secure items". I have made sure all the links are pointing to https:// rather than http://. I have also looked at the fiddler and firebug logs to see that all the requests are being made to https:// links only.
Here's a similar question asked on SO : IE - "This page contains both secure and non-secure items"
The guy whose answer was accepted hit right on target. I wish I knew how he debugged to narrow down to that solution.
Any help is appreciated.
Thanks
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
您可以采用自上而下或自下而上的方法来尝试追踪问题。自上而下是你开始注释掉一些东西,直到它消失,而在自下而上的情况下,你会删除所有内容,然后慢慢开始添加诸如 Flash、Javascript 和 CSS 之类的内容,因为它可能是某些包含或功能这就是罪魁祸首。
You could either do a top-down or bottom-up approach to try to track down the issue. Top-down is where you'd start commenting out stuff until it goes away while in the bottom-up case you strip out everything and then slowly start adding back in things like Flash, Javascript, and CSS as it may be some include or function that is the culprit.
您不需要实际加载资源来触发警告,只需要一个引用即可。用于加载 Flash 小程序的
最简单的方法是打开源代码并使用编辑器搜索“http:”。如果没有出现任何结果,请对
document.getElementsByTagName('html')[[0].innerHTML
的输出执行相同的操作。You don't need to actually load a resource in order to trigger the warning, a reference is all it takes. The
<object>
used to load a Flash applet is enough (if you reference the HTTP URI for the Flash Plugin).The easiest thing to do is to open up the source and search for 'http:' with your editor. If that doesn't turn up anything, do the same with the output of
document.getElementsByTagName('html')[[0].innerHTML
.