sayglenn / pe

0 stars 0 forks source link

Valid Email Addresses are not allowed #3

Open sayglenn opened 2 weeks ago

sayglenn commented 2 weeks ago

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.

Screenshot 2024-11-15 at 4.52.40 PM.png

nus-se-script commented 1 week ago

Team's Response

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.

Items for the Tester to Verify

:question: Issue response

Team chose [response.Rejected]

Reason for disagreement: Thank you for your explanation! However, with reference to Wikipedia, an email address ending with a dash is valid. The given example in Wikipedia was user-@example.org.


## :question: Issue severity Team chose [`severity.Low`] Originally [`severity.Medium`] - [x] I disagree **Reason for disagreement:** If a user's client were to have such an email, they might have some inconvenience but will still be able to use the application, which fits a medium severity according to the website.