Bug Tracker

Modify

Ticket #6263 (closed bug)

Opened 3 years ago

Last modified 15 months ago

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:
Blocking: Blocked by:

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

comment:1 Changed 3 years ago by haijamal

I am using IE 7 / 8.

comment:2 Changed 3 years ago by dmethvin

  • need changed from Patch to Test Case
  • Status changed from new to closed
  • Resolution set to invalid

Please reopen with a simple test case.

comment:3 Changed 3 years ago by haijamal

  • Status changed from closed to reopened
  • Resolution invalid deleted

comment:4 Changed 3 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 3 years ago by snover

  • Status changed from reopened to pending

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 3 years ago by trac-o-bot

  • Status changed from pending to closed

Automatically closed due to 14 days of inactivity.

Please follow the  bug reporting guidlines and use  jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

View

Add a comment

Modify Ticket

Action
as closed
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.