Closed Bug 747413 Opened 14 years ago Closed 14 years ago

Make trailing slashes non ambiguous

Categories

(Participation Infrastructure :: Phonebook, defect)

defect
Not set
normal

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.
After vidyo discussion the default will now be to remove slashes using the same middle ware as kitsune.
fixed bee01e95b3b12a21d5a11fa43b31d9b3be454e28
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Target Milestone: --- → 2012-05-09
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
You need to log in before you can comment on or make changes to this bug.