roultitude / pe

0 stars 0 forks source link

Email with short domain sublabel containing hyphen not accepted #1

Open roultitude opened 1 year ago

roultitude commented 1 year ago

Based on the given constraints, the following email address fulfills all 3: donkey@az.a-a

as it ends with domain label "a-a" which is more than 2 characters, has each label "az" and "a-a" start with alphanumeric characters, has each label "az" and "a-a" consist of alphanumeric characters separated only by hyphens if any.

Yet it is rejected by the program. Seems to be an unhandled edge case, probably quite rare but might prevent a person with such an email from being entered into the app completely.

image.png

nus-pe-bot commented 1 year ago

Your response not required for this bug as the team has accepted the bug as it is.