IE8安全警告

发布于 2024-07-15 20:17:03 字数 291 浏览 10 评论 0原文

在我正在处理的 https 网站上,我不断收到“您只想查看安全传送的网页内容吗?”。此网页包含不会使用安全 HTTPS 连接传送的内容,这可能会损害网站的安全性整个网页。”

我确保该网站有相关链接。 表单操作也是相对的。 所有图像 src 也是相对的。

此弹出窗口仅在 IE8 中出现,IE7 不会执行任何操作。 在 Firefox 中也能正常工作。

有什么想法可能会发生什么吗? 如果我单击“是”,然后查看源代码,它与单击“否”时看到的完全相同。

这是 IE8 的新错误吗?

On a https site that I am working on, I keep getting "Do you want to view only the webpage content that was delivered securely?. This webpage contains content that will not be delivered using a secure HTTPS connection, which could compromise the security of the entire webpage."

I made sure the site has relative links. Form actions are relative as well. All the image src is relative too.

This popup only happens in IE8, IE7 does not do anything. Works fine in Firefox too.

Any ideas what could be happening? If I click Yes, and look at the source code, it's exactly the same as when I see it when I click No.

Is this some new IE8 bug?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

月亮是我掰弯的 2024-07-22 20:17:03

尝试使用 Fiddler 来准确查看会话中正在下载的内容。 这将非常有用,因为它可以捕获由脚本、分析等触发的下载。


我在您的页面上使用了 fiddler,发现 WebResource.axd 没有使用 https 加载。 这可能是因为像 ASP.NET AJAX 这样的 AJAX 库而被包含在内。

此页面准确地描述了您的问题,如果它没有明确为您解决问题,它至少应该为您提供一些方向

Try using Fiddler to see exactly what is being downloaded in your session. This will be very useful as it can capture downloads triggered by scripts, analytics, etc.


I used fiddler on your page and found that WebResource.axd isn't being loaded with https. This is probably included because of an AJAX library like ASP.NET AJAX.

This page describes your problem precisely and if it doesn't explicitly resolve it for you, it should at least give you some direction.

逆蝶 2024-07-22 20:17:03

它与常规 http 连接上的 https 站点上的内容有关。 它可能是您不需要使用该页面的脚本,因此它不会干扰任何内容。

这不是一个错误,但对于 IE7,您可能已经告诉它记住您的设置(是的,显示信息),所以您不再得到它。

It has to do with content on the https site that is on a regular http connection. Its probably a script that you are not needing to use the page and so it's not interferring with anything.

Not a bug, but with IE7 you've probably told it to remember your setting (of yes display the info) and so you are not getting it anymore.

毁虫ゝ 2024-07-22 20:17:03

我也遇到了同样的问题。 我的罪魁祸首是以下行,特别是 src="javascript:void(0)" 属性。

document.write('<script type="text/javascript" id="contentLoadTag" defer="defer" src="javascript:void(0)"><\/script>');

此行在 OnDocumentReady javascript 函数中使用,如以下链接所示:
帮助

希望有 有人!

I was having the same problem. My culprit turned out to be the following line and in particular the src="javascript:void(0)" attribute.

document.write('<script type="text/javascript" id="contentLoadTag" defer="defer" src="javascript:void(0)"><\/script>');

This line was used in a OnDocumentReady javascript function like in this link:
http://www.javascriptkit.com/dhtmltutors/domready.shtml

Hope that helps someone!

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文