[wp-trac] [WordPress Trac] #44690: Username should not accept space

WordPress Trac noreply at wordpress.org
Wed Aug 1 15:54:20 UTC 2018


#44690: Username should not accept space
------------------------------+------------------------------
 Reporter:  subrataemfluence  |       Owner:  (none)
     Type:  enhancement       |      Status:  new
 Priority:  normal            |   Milestone:  Awaiting Review
Component:  Users             |     Version:  trunk
 Severity:  normal            |  Resolution:
 Keywords:  2nd-opinion       |     Focuses:
------------------------------+------------------------------

Comment (by knutsp):

 I don't know is space is a problem, but email-looking usernames are. You
 can log in with either username or email, fine, but what if you are trying
 to log in using a email-like username? Two user may have the same string
 as username in one profile, and as email in the other.

 `@` is not the problem, but if a username validates as email, it should be
 rejected.

 A completely different approach would be to deprecate usernames in favour
 of email, but that would be a drastic change.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/44690#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list