Comment 5 for bug 540312

Revision history for this message
Matthew Paul Thomas (mpt) wrote : Re: always redirect to absolute url for bug

I've previously raised the need for a short final URL for bug reports in bug 237153 and bug 317136. As far as I can tell, though, this is the only bug report devoted to the issue, and while it may be complex to fix, I think it's valid.

To reprise my suggestion from those reports:

* Most bug reports (I assume) have a single context. The canonical URL for these should be https://launchpad.net/bugs/NNN -- or maybe https://bugs.launchpad.net/NNN (bug 2132), but not the redundant https://bugs.launchpad.net/bugs/NNN.

* For a multi-context bug report, the URL should be https://launchpad.net/bugs/NNN?in=context, e.g. https://launchpad.net/bugs/12345678?in=ubuntu/+source/firefox. The context-less URL should redirect as I proposed in bug 153763.

* None of this should have any effect on the visible navigation: the page title, hierarchy links, etc should work exactly as they did with the previous URLs.

* The only things that should change depending on what context you're viewing a report in should be (a) its <title>, (b) the highlighted row in the Affects table, and (c) the top navigation and "What next?" navigation. There should be no other differences in content or function. Heat should not be context-dependent, "Target to release" should not be context-dependent, and so on.

Implementing this would obsolete bug 237153 and bug 474425.