Links to attachments of Trac bugs creates an incorrectly linked bug watch

Bug #203959 reported by Björn Tillenius
2
Affects Status Importance Assigned to Milestone
Launchpad itself
Triaged
Low
Unassigned

Bug Description

If someone includes a link to a Trac attachment, for example http://svn.mythtv.org/trac/attachment/ticket/2031/myth-interface.patch, it gets mistaken as a link to a bug in a Trac tracker, and the resulting bug watch will link to http://svn.mythtv.org/trac/attachment/ticket/2031, which isn't correct.

While we could figure out what the correct URL should be, our bug watch creation code should ignore such links.

Revision history for this message
Graham Binns (gmb) wrote :

This is due to our recognition regex being a bit too permissive. It's a one line fix, plus tests.

Curtis Hovey (sinzui)
Changed in malone:
status: New → Triaged
importance: Undecided → Low
tags: added: trivial
tags: added: bugwatch
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.