Skip to main content

Bug Tracker

Side navigation

#6263 closed bug ()

Opened March 11, 2010 11:19AM UTC

Closed November 11, 2010 11:09PM UTC

Last modified March 14, 2012 02:47AM UTC

warning using jQuery 1.4.2 on https pages

Reported by: haijamal Owned by:
Priority: Milestone: 1.4.3
Component: core Version: 1.4.2
Keywords: warning on https Cc:
Blocked by: Blocking:
Description

When using jQuery 1.4.2 in https a warning message is poping up. ("This page contains both secure and nonsecure items.")

This warning doesn't occur on jQuery 1.3.2

Attachments (0)
Change History (6)

Changed March 11, 2010 11:26AM UTC by haijamal comment:1

I am using IE 7 / 8.

Changed March 18, 2010 12:45AM UTC by dmethvin comment:2

need: PatchTest Case
resolution: → invalid
status: newclosed

Please reopen with a simple test case.

Changed March 23, 2010 03:58PM UTC by haijamal comment:3

resolution: invalid
status: closedreopened

Changed March 23, 2010 04:15PM UTC by haijamal comment:4

With jQuery 1.4.2 and SSL we get a warning message "This page contains both secure and nonsecure items."

Below is the test aase:

// On Document Ready

$(document).ready(function(){

var $idiv = $('<div style="background-image:url(alert.png);">Dynamic Div</div>');

$('#dynamicDiv').append($idiv);

});

<body>

<div id="dynamicDiv"></div>

</body>

I am trying to append connect dynamically.

I am using append method.

This code works with jQuery 1.3.2 in a SSL environement with out warning.

but with jQuery 1.4.2 the append method throws warning in the above code.

Instead of append now i use,

$('#dynamicDiv').html($('#dynamicDiv').html() + '<div style="background-image:url(alert.png);">Dynamic Div></div>');

the above code doesn't throw warning. I am using the above code in developement. But I don't want to use the above code in production.

Changed October 14, 2010 03:14AM UTC by snover comment:5

status: reopenedpending

This ticket has been marked as missing a test case. In an effort to reduce the number of outstanding tickets in the bug tracker, it will be closed automatically in 30 days. In order to prevent this from happening, please provide a working test case. If a test case has already been provided and our records are wrong, please respond to the ticket so that it can be fixed. Thank you!

Changed November 11, 2010 11:09PM UTC by trac-o-bot comment:6

status: pendingclosed

Automatically closed due to 14 days of inactivity.