Closed Bug 1015639 Opened 10 years ago Closed 10 years ago

Don't allow underscores in username

Categories

(Webmaker Graveyard :: Login, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: jon, Assigned: cade)

References

Details

Attachments

(8 files)

Due to bugs in Discourse, Twitter, and an unknown number of URL validators not validating underscores as valid characters in subdomains, I think we should prevent the creation of usernames with underscores in them. We shouldn't change existing usernames with underscores in them though. Thoughts?
agree
So I heard "I [...] would love to hear some dissenting voices", and am well known for dissent. However, not on this occasion: let's do it. If our username policy is preventing people from using discourse or tweeting because we didn't pay attention to the stricter version of DNS subdomain naming, let's change our policy!
I think this is the right move. +1
Yes, I think this is a good move.
Summary: [Proposal] Don't allow underscores in username → Don't allow underscores in username
Attachment #8428738 - Flags: review?(jon) → review+
Attachment #8428739 - Flags: review?(jon) → review+
Updates webmaker-auth-client version used by wm.org, so that is won't allow underscores in usernames.
Attachment #8430886 - Flags: review?(ali)
This was in email, but for the "record": I totally agree. :) I’d go further to suggest we never use underscores in any URLs or public facing filenames that may end up in a URL (eg: a JPEG, MP3 etc). My issue with underscores is legibility when viewed in an address bar context. In a few previous jobs we set a best practice for filenames and URLs, which was: 1. All lowercase. 2. Only hyphens for “spaces", no underscores.
Attachment #8430886 - Flags: review?(ali) → review+
Status: NEW → ASSIGNED
Commit pushed to master at https://github.com/mozilla/webmaker.org https://github.com/mozilla/webmaker.org/commit/3918a892e806fdcaa9c01c22ce12a35b0f79b0d0 Bug 1015639 - Update webmaker-auth-client to version that disallows underscores in usernames
Attachment #8431605 - Flags: review?(ali) → review+
Attachment #8431624 - Flags: review?(ali) → review+
Attachment #8431679 - Flags: review?(ali) → review+
Attachment #8431678 - Flags: review?(ali) → review+
Commit pushed to master at https://github.com/mozilla/login.webmaker.org https://github.com/mozilla/login.webmaker.org/commit/f5271f32395276c0c3f02862b975c7146ce91f6e Revert "Bug 1015639 - disallow underscores in usernames" This reverts commit b56d7374a99f9d8b66d08a005cfc09ad9a960928.
Attachment #8434230 - Flags: review?(jon) → review-
Attachment #8434230 - Flags: review- → review?(jon)
Attachment #8434230 - Flags: review?(jon) → review-
Attachment #8434230 - Flags: review- → review?(jon)
Attachment #8434230 - Flags: review?(jon) → review+
Commit pushed to master at https://github.com/mozilla/login.webmaker.org https://github.com/mozilla/login.webmaker.org/commit/154a5cd9e5fe138e93697153492fa040c22fd9cf Bug 1015639 - disallow usernames - without breaking usernames that already have underscores
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: