Bug Tracker

Opened 9 years ago

Closed 9 years ago

Last modified 7 years ago

#6263 closed bug

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

Change History (6)

comment:1 Changed 9 years ago by haijamal

I am using IE 7 / 8.

comment:2 Changed 9 years ago by dmethvin

need: PatchTest Case
Resolution: invalid
Status: newclosed

Please reopen with a simple test case.

comment:3 Changed 9 years ago by haijamal

Resolution: invalid
Status: closedreopened

comment:4 Changed 9 years ago by haijamal

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.

comment:5 Changed 9 years ago by snover

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!

comment:6 Changed 9 years ago by trac-o-bot

Status: pendingclosed

Automatically closed due to 14 days of inactivity.

Note: See TracTickets for help on using tickets.