changelog linkification doesn't work properly for package names containing "+"

Bug #31039 reported by Dafydd Harries
4
Affects Status Importance Assigned to Milestone
Launchpad itself
Fix Released
Medium
Celso Providelo

Bug Description

Package names are interpolated into a regular expression, but regular expression syntax is not escaped first. When a package name contains "++", this causes an error. For instance:

https://chinstrap.ubuntu.com/~jamesh/oops.cgi/2006-02-10/A38

Here is a test case:

https://chinstrap.ubuntu.com/~dsilvers/paste/filevRx2l2.html

Tags: lp-soyuz oops
Revision history for this message
Celso Providelo (cprov) wrote :

Thanks daf, it was a perfect bug report !
The fix is commited, basically consists of escape the sourcepackagename properly before pass to regexp replace. The missing sourcepackage view class could be avoided and some new sampledata was required.

Changed in soyuz:
assignee: nobody → cprov
status: Unconfirmed → Fix Committed
Christian Reis (kiko)
Changed in soyuz:
status: Fix Committed → Fix Released
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.