[wp-trac] [WordPress Trac] #52976: user emails comparison should be case insensitive

WordPress Trac noreply at wordpress.org
Tue Apr 6 02:57:26 UTC 2021


#52976: user emails comparison should be case insensitive
--------------------------+------------------------------
 Reporter:  asaifm        |       Owner:  (none)
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Users         |     Version:  5.7
 Severity:  normal        |  Resolution:
 Keywords:                |     Focuses:
--------------------------+------------------------------
Changes (by dd32):

 * component:  General => Users


Comment:

 Hi @asaifm and welcome to Trac!

 Updating this to use lower-case comparisons (Just throw it through
 strtolower() IMHO) seems reasonable, however.. a plugin altering the user
 email address to lower case does seem unexpected and potentially a bigger
 bug than this is.

 Just as a note, `user at example.com` and `USER at example.com` could
 ''technically'' be different users, as the email standard delegates that
 to the mail servers, however in reality no mail servers that I'm aware of
 have case sensitive handling..

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


More information about the wp-trac mailing list