Modify ↓
Opened 16 years ago
Closed 16 years ago
#4134 closed defect (worksforme)
watchable_paths has an re oversight
Reported by: | 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 16 years ago by
comment:2 Changed 16 years ago by
Resolution: | → worksforme |
---|---|
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
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.