Loggerhead does not escape special characters when embedding a revision ID in a URL
Bug #88286 reported by
James Henstridge
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
loggerhead |
Fix Released
|
Medium
|
Robey Pointer |
Bug Description
Loggerhead uses Bazaar revision IDs in some of its URLS (e.g. /files/$revid and /changes/$revid), but does not perform URL escaping on links to these pages. This causes problems if the revision ID contains reserved URL characters.
As a concrete example of the problem, revisions imported from Arch contain a percent character to separate the Arch archive and branch names. Without escaping this character, we get an invalid URL.
To post a comment you must log in.
yep, i can see it on the old arch revisions in paramiko. hrm...
it looks like these urls should be going through turbogears' url() function. something screwy must be going on. more investigation needed.