Allow User handles to start with numbers. #532

Closed
wants to merge 1 commit into
from

Projects

None yet

2 participants

@thejonanshow

The regex that validates user handles disallows a starting number, dash or underscore. I aspire to give all numbered users an opportunity to be seen as equals amongst their peers, but I'm happy to continue discriminating against the underscored and dashed.

@thejonanshow thejonanshow Allow User handles to start with numbers.
The validation for a User now allows numbers, though dashes and underscores are
still not allowed as starting characters. User tests reflect the new behavior.
6ddda1f
@sferik
Member
sferik commented Feb 14, 2013

We can't merge this because it creates a conflict with existing profile URLs.

Users that don't have handles (for example, #45159) are identified by their users IDs. We also use user IDs as aliases, even if a user has a handle (for example, #1).

If we allowed handles that began with number, someone could register a numeric handle (e.g. 45159 or 1), which would collide with these existing URLs.

Thanks for submitting this anyway.

@sferik sferik closed this Feb 14, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment