Bug Tracker

Opened 14 years ago

Closed 13 years ago

#5570 closed bug (worksforme)

Expr.filter.ATTR forgets to replace the escape character

Reported by: mercenary Owned by:
Priority: major Milestone: 1.4
Component: selector Version: 1.3.2
Keywords: Cc:
Blocked by: Blocking:

Description (last modified by snover)

Maybe you have already noticed, but...

In jQuery.debug.js line 2012:

var name = match[1],

You should change to this:

var name = match[1].replace(/\\/g, ""),

(...as you do in the preFilter too)

Change History (2)

comment:1 Changed 13 years ago by dmethvin

Component: unfiledselector

Does look that way, doesn't it?

comment:2 Changed 13 years ago by snover

Description: modified (diff)
Resolution: worksforme
Status: newclosed

This seems to already be the case in 1.4.4.

Note: See TracTickets for help on using tickets.