emzm2023 / pe

0 stars 0 forks source link

Adding customer email with multiple special characters does not work #5

Open emzm2023 opened 1 year ago

emzm2023 commented 1 year ago

Trying to execute this command throws an error: customer add --name John Doe --phone 98765432 --email john___d@example.com --address 311, Clementi Ave 2, #02-25

which is as follows:

image.png

Similar behaviour for commands like: customer add --name John Doe --phone 98765432 --email john++d@example.com --address 311, Clementi Ave 2, #02-25

Given the error message, the inputted email should work, unless I missed something.

Think this could cause quite a bit of problems for the user.

soc-se-bot commented 1 year ago

Team's Response

Severity would be changed to low as the likelihood for multiple special characters is highly unlikely given that "an underscore, period, or dash must be followed by one or more letter or number": photo_2023-11-20 10.05.05.jpeg

Source: https://help.xmatters.com/ondemand/trial/valid_email_format.htm

Items for the Tester to Verify

:question: Issue severity

Team chose [severity.Low] Originally [severity.Medium]

Reason for disagreement: [replace this with your explanation]