-
Couldn't load subscription status.
- Fork 479
Description
Due to the utilization of ^[a-zA-Z0-9._-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,4}$ regex a good deal of incorrect emails are permitted to be used while some other, valid, email addresses are marked as not valid. While this regex does catch most of the valid emails there are still some edge cases which don't get caught.
Expected Behavior
These emails shouldn't be marked as not valid: [email protected], mike.o'[email protected]
These emails should be marked as not valid: [email protected], [email protected], [email protected]
Current Behavior
These emails are marked as not valid: [email protected], mike.o'[email protected]
These emails are marked as valid: [email protected], [email protected], [email protected]
Possible Solution
The Regex used for email validation needs to be updated.
Steps to Reproduce (for bugs)
- Go to the
Sign Uppage. - Enter your email.