Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Email validation bug #1259

@AleksaMCode

Description

@AleksaMCode

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)

  1. Go to the Sign Up page.
  2. Enter your email.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions