Modify ↓
Opened 15 years ago
Closed 14 years ago
#7082 closed defect (fixed)
[PATCH] Deny access to nonexistent tickets instead of throwing an exception
Reported by: | Anders Kaseorg | Owned by: | obs |
---|---|---|---|
Priority: | normal | Component: | SensitiveTicketsPlugin |
Severity: | normal | Keywords: | |
Cc: | Trac Release: | 0.11 |
Description
The SensitiveTickets plugin throws an “Invalid Ticket Number” exception not only when displaying nonexistent tickets, but also when displaying tickets that accidentally link to nonexistent tickets, e.g. because someone happened to write #999999 in a comment. Please apply the attached patch.
Attachments (1)
Change History (5)
Changed 15 years ago by
Attachment: | sensitivetickets-deny-nonexistent.patch added |
---|
comment:1 Changed 15 years ago by
comment:2 Changed 15 years ago by
Owner: | changed from Sebastian Benthall to obs |
---|
comment:3 Changed 15 years ago by
comment:4 Changed 14 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
Your Trac seems to discard the commit message from the patch, so I’ll reproduce it below in case you want to use it: