YowSiaoKang / pe

0 stars 0 forks source link

Unable to support "aaa@aaa" in email #7

Open YowSiaoKang opened 6 months ago

YowSiaoKang commented 6 months ago
add -n aaaa -t test -e aaa@saa

image.png

expected: should be able to add entry since the email specified is valid

nus-pe-bot commented 6 months ago

Team's Response

Thank you for the feedback! As per the ICANN meeting on the 13th of August 2013, the ICANN Board New gTLD Program Committee (NGPC) adopted a resolution affirming that "dotless domain names" are prohibited.

image.png

Hence, we consider the following email invalid.

Items for the Tester to Verify

:question: Issue response

Team chose [response.Rejected]

Reason for disagreement: Despite the ICANN resolution in 2013 prohibiting dotless domain names for new gTLDs, there are still active dotless ccTLD domains under the jurisdiction of their respective countries (https://lab.avl.la/dotless/). Hence I believe mail@example should be supported.

We can also refer to this past issue: nus-cs2103-AY2021S2/pe-dev-response#3132

image.png

Heres the links related to the discussion for the valid email formats: https://datatracker.ietf.org/doc/html/rfc5322#section-3.4.1 https://stackoverflow.com/questions/20573488/why-does-html5-form-validation-allow-emails-without-a-dot https://stackoverflow.com/questions/27992870/should-email-validation-requires-the-domain-part-contains-a-dotjquery-validation/jquery-validation#2117 https://en.wikipedia.org/wiki/Email_address#Examples