Skip to content

Mail starting with apostrophe should be invalid #228

Description

@janbarasek

Version: v3.1.2

Bug Description

Input Validators::isEmail("'jan@barasek.com") return true, but I think it is not valid address, because it starting with apostrophe.

Expected Behavior

Addresses starting or ending with special characters should be detected as invalid.

I'm not sure how to elegantly implement this into the current regular expression, so I'm starting an issue.

Thanks!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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