Closed
Bug 826482
Opened 12 years ago
Closed 12 years ago
Double slashes in URLs
Categories
(Webtools Graveyard :: DXR, defect, P5)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: erik, Assigned: erik)
Details
(Whiteboard: easy)
When browsing the root level of a tree, clicking any file or folder sticks a // in the URL. For example, browsing the json-test tree and clicking main.c goes to /HelloWorld//main.c.
| Assignee | ||
Comment 1•12 years ago
|
||
It might be just a stupid templating bug: the double slashes end up hard-coded into .dxr-directory-index.html.
| Assignee | ||
Updated•12 years ago
|
Assignee: nobody → erik
Comment 2•12 years ago
|
||
Commit pushed to testing at https://github.com/mozilla/dxr
https://github.com/mozilla/dxr/commit/4258a26566ebe3ad87e7ed660dfc44fd667f5958
[bug 826482] Fix double slashes appearing in URLs.
These aren't tolerated by the test server anymore.
While I was at it, rewrote build_folder so it's a little (but not much) easier to follow. Took advantage of the filesizeformat Jinja filter so our file sizes are a little nicer (decimals, like the previous author wanted) and our code for dealing with them a little shorter.
| Assignee | ||
Updated•12 years ago
|
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Updated•4 years ago
|
Product: Webtools → Webtools Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•