Bug Tracker

Modify

Ticket #5570 (closed bug: worksforme)

Opened 3 years ago

Last modified 3 years ago

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:
Blocking: Blocked by:

Description (last modified by snover) (diff)

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

comment:1 Changed 3 years ago by dmethvin

  • Component changed from unfiled to selector

Does look that way, doesn't it?

comment:2 Changed 3 years ago by snover

  • Status changed from new to closed
  • Resolution set to worksforme
  • Description modified (diff)

This seems to already be the case in 1.4.4.

Please follow the  bug reporting guidlines and use  jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

View

Add a comment

Modify Ticket

Action
as closed
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.