Ticket #6587 (closed bug: patchwelcome)
append function causes mixed content warning on IE when on https page and content to append contains relative link
| Reported by: | wesleysmith | Owned by: | |
|---|---|---|---|
| Priority: | undecided | Milestone: | |
| Component: | manipulation | Version: | 1.4.2 |
| Keywords: | Cc: | ||
| Blocking: | Blocked by: |
Description
If the append function is called from a page loaded via https on IE (I tested IE7), and the text to append contains a relative link, then IE will show a mixed content warning (Page Contains Both Secure and Nonsecure Items)
I traced this for a while and it seems to be triggered when the content is appended into the document fragment near the end of jquery's clean function.
I'm sure that this is a IE bug, but perhaps there is a workaround?
This issue is seen with jquery 1.4.2, but not seen with jquery version 1.3.2
Attachments
Change History
comment:1 Changed 3 years ago by ed.eustace
Hi, I had this happen when trying to render a <object><embed></embed></object> for a swf document.
The workaround we used was to add raw html to the element:
var objectHtml = '<object><embed src="mySwf.swf"></embed></object>'; div.innerHtml( objectHtml );
comment:4 Changed 3 years ago by snover
- Priority set to undecided
- Status changed from new to closed
- Resolution set to patchwelcome
This is a corner case we are not going to look at since a workaround is available and it is unlikely to be discovered by many people. If you want to write a patch that fixes the issue, we would be happy to consider it.
Please follow the bug reporting guidlines and use jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.


Test case