Skip to main content

Bug Tracker

Side navigation

#7643 closed bug (duplicate)

Opened November 27, 2010 06:02PM UTC

Closed November 27, 2010 07:50PM UTC

Last modified March 13, 2012 11:03PM UTC

Sizzle querySelectorAll doesn't work when element id contains special characters

Reported by: Owned by:
Priority: high Milestone: 1.5
Component: selector Version: 1.5
Keywords: Cc:
Blocked by: Blocking:

I noticed an issue where the querySelectorAll call fails in Sizzle when the search element id contains a special character like a period. This was not an issue in jquery 1.4.3 as the id

was always used in that version. I implemented a simple fix where periods are escaped and that resolved my issue nicely. (Obviously all special characters will need to be escaped)

This issue is a regression caused by the fix for:

Attachments (0)
Change History (6)

Changed November 27, 2010 06:49PM UTC by anonymous comment:1

Here's a simple test case for this bug that worked with jquery 1.4.3/1.4.2, but does not with jquery 1.4.4:

Changed November 27, 2010 06:58PM UTC by anonymous comment:2

My apologies, this is a duplicate of bug:

Changed November 27, 2010 07:50PM UTC by jitter comment:3

component: unfiledselector
milestone: 1.next1.4.5
priority: undecidedhigh
resolution: → duplicate
status: newclosed

Changed November 27, 2010 07:50PM UTC by jitter comment:4

Duplicate of #7533.

Changed January 31, 2011 05:53PM UTC by john comment:5


There wasn't a 1.4.5 release, was actually 1.5.

Changed January 31, 2011 05:55PM UTC by john comment:6


There was no 1.4.5 release, was actually 1.5.