Closed Bug 1353138 Opened 9 years ago Closed 9 years ago

Banned user profiles should 404

Categories

(developer.mozilla.org Graveyard :: User management, task)

task
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: shobson, Assigned: safwan)

References

Details

(Keywords: in-triage)

Currently banned user profiles will show the reason for a ban to the banned user and admins and show a 403 to all other users. We should be showing a 404 to all other users so that Google does not think there is juicy content behind a login page. 404 is superior to 410 for this purpose because we do occasionally lift user bans and would then like the page to be indexed again. Google seems to treat 410 as much more permanent than 404.
Blocks: 1353079
Assignee: nobody → safwan.rahman15
Commits pushed to master at https://github.com/mozilla/kuma https://github.com/mozilla/kuma/commit/91f696f5bd7f2fac80c2f175d26944e304b9e12f [Bug 1353138] Banned user profiles should 404 https://github.com/mozilla/kuma/commit/a3a53b7a5e2e5e14683d6ae3eeaaa9eb418694a6 Merge pull request #4182 from safwanrahman/banned-user [Bug 1353138] Banned user profiles should 404
Deployed to stage and production April 24th 2017
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Product: developer.mozilla.org → developer.mozilla.org Graveyard
You need to log in before you can comment on or make changes to this bug.