DummyClassOrg / main

dummy for issue
0 stars 2 forks source link

Incorrect top-level domain accepted in email-id #1546

Open nus-pe-script opened 5 years ago

nus-pe-script commented 5 years ago

Describe the bug A .p email ID is accepted, despite the fact there is no top-level domain name .p

To Reproduce Steps to reproduce the behavior:

  1. Open the application.
  2. Enter the following command: add n/Aaa p/432 e/ppp@p.p a/John street, block 123, #01-01
  3. See that the invalid email is accepted

Expected behavior Expected email-id to be checked against a list of valid top-level domain names (like .com, .net, .edu, etc), and would reject .p which is invalid.

Screenshots screenshot 2018-11-16 16 17 24


[original: dummy#28]