您的位置:首页 > 理论基础 > 计算机网络

HTTPS security is compromised by (null) - what causes this?

2015-07-24 12:25 615 查看
HTTPS
security is compromised by (null) - what causes this?

I am encountering the following error in IE 11:
HTTPS security is compromised by (null) - what causes this?


I am creating a popup (iframe) by clicking on a link, and this popup is causing the error.

I have read up on this error, and I understand that it is caused by mixed content. I have checked and all file includes also use https. Usually the specific file that is compromising security is mentioned, but in this case it is (null).

Any ideas?

Answering my own question after an interesting debugging journey:

It turns out that the popup that was not displaying due to the HTTPS security error wrote a piece of html in the body onload event handler. In this html snippet were two links with href=""; IE 11 sees
this as a security issue.

To fix I replaced href="" with href="javascript:;" (see this
post). http://stackoverflow.com/questions/20516612/https-security-is-compromised-by-null-what-causes-this
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: