Skip to main content

Bug Tracker

Side navigation

#5570 closed bug (worksforme)

Opened November 30, 2009 03:02PM UTC

Closed November 19, 2010 08:15AM UTC

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

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)

Attachments (0)
Change History (2)

Changed June 13, 2010 07:03PM UTC by dmethvin comment:1

component: unfiledselector

Does look that way, doesn't it?

Changed November 19, 2010 08:15AM UTC by snover comment:2

description: 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)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)
resolution: → worksforme
status: newclosed

This seems to already be the case in 1.4.4.