email-validate-hs
email-validate-hs copied to clipboard
Introduce a failing test for dotless domain
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.
That ICANN announcement only applies to new domain names. The existing dotless names continue to be valid. Like http://ai./