Modify

Opened 15 years ago

Closed 15 years ago

#4134 closed defect (worksforme)

watchable_paths has an re oversight

Reported by: mark.k.bettinger@… Owned by: Robert Corsaro
Priority: normal Component: AnnouncerPlugin
Severity: normal Keywords:
Cc: Trac Release: 0.11

Description

with watchable_paths set to 'ticket/*' it will match ticket followed by 0 or more slash and will match ticketstats(another plugin) and any other path prefixed with 'ticket'. The expression should read 'ticket/.*' in order to include the / as part of the expression

Attachments (0)

Change History (2)

comment:1 Changed 15 years ago by anonymous

Have you tested this? Are you sure, are you on the newest version? * is replaced with .* before the re is matched. It isn't meant to be a regex, but more like a glob. There is a defect in that it doesn't escape regex directives before evaluating, so you can use any regex directive except '*' and it will work without issue.

comment:2 Changed 15 years ago by anonymous

Resolution: worksforme
Status: newclosed

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Robert Corsaro.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


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

 
Note: See TracTickets for help on using tickets.