yuxuanleong / pe

0 stars 0 forks source link

Invalid email format accepted #3

Open yuxuanleong opened 2 years ago

yuxuanleong commented 2 years ago

Steps to reproduce

  1. Launch the app
  2. Type in the command edit 1 e/example@gmailcom

Expected

error message shown for invalid email format (especielly when users knows that the format for gmail is ....@gmail.com

Actual

Alex Yeoh's parent email is updated with EXAMPLE@GMAILCOM

Screenshots

image.png

soc-se-bot commented 2 years ago

Team's Response

Emails without a dot in the domain name are valid (although discouraged).

See: https://stackoverflow.com/questions/20573488/why-does-html5-form-validation-allow-emails-without-a-dot

See: https://en.wikipedia.org/wiki/Email_address#Examples

Items for the Tester to Verify

:question: Issue response

Team chose [response.Rejected]

Reason for disagreement: [replace this with your explanation]