Closed
Bug 747413
Opened 14 years ago
Closed 14 years ago
Make trailing slashes non ambiguous
Categories
(Participation Infrastructure :: Phonebook, defect)
Participation Infrastructure
Phonebook
Tracking
(Not tracked)
VERIFIED
FIXED
2012-05-09
People
(Reporter: tallOwen, Assigned: tallOwen)
Details
We should either have trailing slashes or not have them and we should have some middleware that redirects requests that use the wrong one.
Per IRC conversation lets use https://docs.djangoproject.com/en/dev/ref/settings/#std:setting-APPEND_SLASH to accomplish this with the CommonMiddleware.
| Assignee | ||
Comment 1•14 years ago
|
||
After vidyo discussion the default will now be to remove slashes using the same middle ware as kitsune.
| Assignee | ||
Comment 2•14 years ago
|
||
fixed bee01e95b3b12a21d5a11fa43b31d9b3be454e28
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Updated•14 years ago
|
Target Milestone: --- → 2012-05-09
Comment 3•14 years ago
|
||
We don't have that many urls, but the idea here is to remove the trailing slash on 404s.
Ex. on https://mozillians.org/en-US/about/ it is Not Found
https://mozillians.allizom.org/en-US/about/ redirects to /about
Comment 4•14 years ago
|
||
Thanks Tim - QA verified on stage. Adding a trailing slash to a url correctly redirects.
Examples:
- https://mozillians.allizom.org/group/11004-ugly-tuna/
- https://mozillians.allizom.org/ImAMonkey/
- https://mozillians.allizom.org/about/
- https://mozillians.allizom.org/invite/
- https://mozillians.allizom.org/user/edit/
- https://mozillians.allizom.org/user/edit#account/
- https://mozillians.allizom.org/user/edit#vouches/
Status: RESOLVED → VERIFIED
You need to log in
before you can comment on or make changes to this bug.
Description
•