Bug Tracker

Opened 13 years ago

Closed 13 years ago

#6492 closed bug (invalid)

IE 7/8 uncaught fatal exception when attribute selector parses malformed href string

Reported by: xtof Owned by:
Priority: Milestone: 1.4.3
Component: selector Version: 1.4.2
Keywords: href, Internet Explorer Cc:
Blocked by: Blocking:

Description

jQuery code was:

jQuery('a[href$=.pdf]').addClass('pdf');

fatal exception on this line. tried iterating the individual anchor tags and looking at their hrefs using just DOM functions; discovered one was malformed, specifically:

href="http://3 Willows: The Sisterhood Grows"

IE 7/8 (did not test 6) failed on this link any time I accessed this href (e.g., "var foo = element.href;" threw fatal exception), with one exception - typeof element.href returns "unknown" for IE7/8

Change History (1)

comment:1 Changed 13 years ago by dmethvin

Resolution: invalid
Status: newclosed

Can you reopen with a complete test case that throws the error?

Note: See TracTickets for help on using tickets.