We should consistently ensure bugtracker URLs are slash-terminated (or not)
Bug #1434 reported by
Christian Reis
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
Fix Released
|
Low
|
Christian Reis |
Bug Description
Because they can cause problems when generating links manually, we should consistently ensure bugtracker URLs are slash-terminated (or perhaps we decide they should consistently not be slash-terminated -- either is fine by me).
When this is fixed, the code in BugWatch.url() can be changed to take this into account.
Changed in malone: | |
assignee: | nobody → bradb |
status: | New → Accepted |
Changed in malone: | |
assignee: | bradb → kiko |
Changed in malone: | |
status: | In Progress → Fix Committed |
Changed in malone: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
What do you mean by "generating links manually" ?
Is the idea that a bugwatch URL will always have things added to the end of it? If so, let's make it always end in a slash.
As a note for the future: there's a URL class in the menus code that we can use more generally. It provides an API for doing things with URLs like getting a version of the URL that always ends in a slash.