开发者

Unsecure content over https

I am getting the mixed content warning on a we开发者_运维百科bapp I am working on when using the jsDatePick.

I have used fiddler and can confirm the problem is not caused by any image sources. When a date is selected the following line is run:

window.location.href = "\something\something\day?=date" + this.getSelectedDateFormatted();

Would this be the cause of the problem?


The problem seems to be with a JsDatePick .js file. I have the same issue (mixed content). I'm unfortunately forced to use IE 8 for this project. The parent page is https, and I've minimalized the page to the following (this minimal page still gets the mixed content pop-up:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
                      "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<head>
<script type="text/javascript" src="jsDatePick.min.1.3.js"></script>

<script type="text/javascript" src="jquery-1.2.1.pack.js"></script>

<script type="text/javascript"> 
window.onload = function()
{
new JsDatePick({
useMode:2,
target:"date_range1",
dateFormat:"%m/%d/%Y"
});

};
</script>

</head>
<body>

<h1> Hey</h1>

</body>
</html>


No, because the protocol is not specified it should inherit the protocol of the parent page. Look for anything calling "http://" instead of "https://" in your page source.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜