LibraryFileAlias needs a fmt:url
Bug #36516 reported by
Mark Shuttleworth
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
Triaged
|
Low
|
Unassigned |
Bug Description
It would be nice to be able to link to a libraryfile just using foo/file/fmt:url like all the other things in LP, rather than the custom foo/file/url. It's a tiny difference but it would make LibraryFileAlias'es similar to everything else.
Changed in launchpad: | |
assignee: | nobody → stevea |
Changed in launchpad: | |
status: | Unconfirmed → Confirmed |
Changed in launchpad-foundations: | |
assignee: | Steve Alexander (stevea) → nobody |
tags: | added: tales |
affects: | launchpad-foundations → launchpad-web |
To post a comment you must log in.
It looks like special casing would be necessary to get canonical_url() (fmt:url is just a wrapper for this function) to return the librarian URL.
I wonder if there are any other objects for which an external URL would make more sense to return? I suspect that they'd need to be unreachable as URLs under https:/ /launchpad. net/ though, or it might cause problems with navigation.