Make WordPress Core

Opened 9 years ago

Last modified 5 years ago

#33362 new defect (bug)

Email already exist when changing email case

Reported by: jliman's profile jliman Owned by:
Milestone: Priority: normal
Severity: normal Version: 4.2.3
Component: Users Keywords:
Focuses: administration Cc:

Description

When I want to update my email address from 'john@…' to 'John@…', it will complain the email is already exist.

Should the comparison be case insensitive when doing the update?

Change History (2)

#1 @voldemortensen
9 years ago

This is a lot more complex than it appears, according to the RFC's that I've read (at least to my understanding), the first part of the email address (i.e. johndoe) is allowed to have uppercase and lowercase letters. However, it's not clear whether JohnDoe@abc.com and johndoe@… are two different mailboxes.

The domain part of the address is only allowed a-z, -, and . in a case insensitive manner. However I feel that I must have missed an update to an RFC because you can now send emails with chinese characters in them.

Perhaps someone more versed in these RFC's can shed some light here.

http://tools.ietf.org/html/rfc5322
http://tools.ietf.org/html/rfc5321
http://tools.ietf.org/html/rfc822#section-6.1

#2 @SergeyBiryukov
9 years ago

  • Component changed from General to Users
Note: See TracTickets for help on using tickets.