Trac bug watch URL matching isn't strict enough

Bug #370767 reported by Graham Binns
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Launchpad itself
Triaged
Low
Unassigned

Bug Description

At the moment, if you enter a Trac ticket URL the code which parses URLs and returns bug tracker and bug IDs will treat all of the following as valid tickets:

- /ticket/1
- /attachment/ticket/12345/filename.diff
- /foo/ticket/12345/something-else

Only the first of these is actually a valid ticket URL. BugWatchSet.parseTracURL() should be updated to be more strict about the URLs it treats as valid.

Changed in malone:
milestone: 2.2.5 → 2.2.6
Changed in malone:
milestone: 2.2.6 → none
Curtis Hovey (sinzui)
Changed in launchpad:
importance: Medium → Low
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.