Skip to main content

Bug Tracker

Side navigation

#3724 closed bug (duplicate)

Opened December 17, 2008 10:52PM UTC

Closed January 11, 2009 05:36AM UTC

Last modified March 14, 2012 10:49PM UTC

Clone on SSL with Anchor Tag

Reported by: cblaze22 Owned by:
Priority: major Milestone: 1.3
Component: ajax Version: 1.2.6
Keywords: Cc:
Blocked by: Blocking:

I recently ran into a problem with the clone function and SSL with a anchor tag. The problem was IE kept showing that unsecure items were on a page that contained htts:// in the protocol. Searching the html there was nothing. I narrowed the problem down to cloning a anchor . I read that some javascript may cause this issue with SSL enabled sites. My fix was to create the anchor tag by scratch and use that instead.

Attachments (0)
Change History (5)

Changed December 17, 2008 10:53PM UTC by cblaze22 comment:1


Changed December 18, 2008 10:04PM UTC by dmethvin comment:2

need: ReviewTest Case

Can you provide a simple test case? This may be a variation of #1734 but it's hard to tell without a test case.

Changed January 03, 2009 01:05AM UTC by flesler comment:3

component: unfilledajax
owner: flesler

Changed January 05, 2009 04:23PM UTC by cblaze22 comment:4

Go to in IE7

It occurs when it hits this line below in common/script/utility.js

var pageObj = page.clone();

and I fixed it with these lines.

var pageObj = $(document.createElement('a'));

pageObj.attr('href', $(page).attr('href')).addClass('on').html($(page).html());

Changed January 11, 2009 05:36AM UTC by dmethvin comment:5

resolution: → duplicate
status: newclosed

This looks like a duplicate of #1734; the IE case for clone goes through jQuery.clean.