email-validate-hs icon indicating copy to clipboard operation
email-validate-hs copied to clipboard

Introduce a failing test for dotless domain

Open eborden opened this issue 5 years ago • 1 comments

Source Issue

https://github.com/Porges/email-validate-hs/issues/52

Issue

ICANN has prohibited dotless domain names:

https://www.icann.org/news/announcement-2013-08-30-en

While these are technically possible in the spec, they have effectively been made invalid. email-validate will accept these domains in its current form, when it should mark them as invalid.

Description

This PR introduces a failing test.

eborden avatar May 05 '20 21:05 eborden

That ICANN announcement only applies to new domain names. The existing dotless names continue to be valid. Like http://ai./

ysangkok avatar Mar 08 '24 22:03 ysangkok