[wp-trac] [WordPress Trac] #38506: Email length can be less than 6 character

WordPress Trac noreply at wordpress.org
Thu Oct 27 00:47:11 UTC 2016


#38506: Email length can be less than 6 character
--------------------------+------------------------------
 Reporter:  mangeshp      |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Comments      |     Version:  trunk
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |     Focuses:
--------------------------+------------------------------

Comment (by dd32):

 This dates back to [2558] (6 char) and [2556] (7char).

 Technically `a at b.c` is a legitimate email address, however realistically,
 it's not and will never be encountered in the wild. All ccTLDs are 2+
 characters and 3+ characters for gTLDs.
 Single-character gTLDs are supposed to be reviewed on a case-by-case basis
 in non-ascii scripts, but there's said to be very little reasoning on why
 one would be approved (and to date, as far as I can see no-one has put a
 request in).

 Specifications aside, I see no harm in enforcing that the minimum length
 is 6 characters - `a at b.cd` - as that's the shortest possible valid email
 address available in the foreseeable future, in the event a single-digit-
 ascii (and not UTF8 IDN TLD) is approved we'll have quite some time to
 update to support it.

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


More information about the wp-trac mailing list