Open nus-se-script opened 2 weeks ago
Thank you for your bug report and for sharing your thoughts on this issue. Upon review, we have determined that the email example provided, alice-@gmail.com
, is invalid due to the use of a dash at the end of the local part of the email address. According to email formatting standards, this is not allowed.
Our system correctly rejects such email addresses, as outlined in RFC 5321, Section 4.1.2. The standard specifies that while the local part of an email address can include certain characters like hyphens (-), it must conform to a valid "Dot-string" syntax. A "Dot-string" is defined as a sequence of atoms separated by dots, where each atom cannot end with a hyphen. Therefore, an email address such as alice-@gmail.com
violates this standard and is considered invalid.
We appreciate your understanding and thank you for bringing this to our attention. If you have any further questions or concerns, please feel free to reach out.
--
Valid emails such as the one in the image
alice-@gmail.com
are not allowed. Should a user have a client with such an email, they will be unable to record their contact.[original: nus-cs2103-AY2425S1/pe-interim#1264] [original labels: severity.Medium type.FeatureFlaw]