Bug Tracker

Ticket #10567 (closed bug: fixed)

Opened 3 years ago

Last modified 3 years ago

Delegated events incorrectly match class names

Reported by: dmethvin Owned by: dmethvin
Priority: blocker Milestone: 1.7
Component: event Version: 1.7b2
Keywords: Cc:
Blocking: Blocked by:

Description

The quickIs code regexp for classes will match "dog" in "dog-food" when it shouldn't.

Change History

comment:1 Changed 3 years ago by dmethvin

  • Owner set to dmethvin
  • Priority changed from undecided to blocker
  • Status changed from new to assigned
  • Component changed from unfiled to event
  • Milestone changed from None to 1.7

comment:2 Changed 3 years ago by SlexAxton

@timmywil thinks he tracked this down:

"yup, it's the regex in quickIs class matcher was: (?.([\w\-]+)) should be: (?.([\w\-]+)$)"

will see if I can get him to patch or do it myself.

Last edited 3 years ago by SlexAxton (previous) (diff)

comment:3 Changed 3 years ago by Dave Methvin

  • Status changed from assigned to closed
  • Resolution set to fixed

Fix #10567. Make sure quickIs matches correct class name.

Changeset: ee3eb6cabf1383efe479e090fe6ad8ed2e5a09a3

Note: See TracTickets for help on using tickets.