versions are not always quoted in URLs, causing invalid links

Bug #1194607 reported by Chad Miller
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Launchpad itself
New
Undecided
Unassigned

Bug Description

Find a source-package page of a distro package that has an "epoch" colon in it, and discover that links to the version are invalid.

For example, https://launchpad.net/ubuntu/+source/libreoffice

Down in the list of distro-releases that contain it, see links to each. The links should be relative paths to the next page, but the colon in "1:4.0.2-0ubuntu5" is interpreted as a scheme separator, and "1" is not a valid scheme like "http".

lib/lp/registry/templates/distributionsourcepackage-index.pt

has

<a tal:attributes="href row/series_package/fmt:url"
             tal:content="row/distroseries/title"/>

The relative path should be 1%3A4.0.2-0ubuntu5 .

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.