Skip to content

Email validation is not following RFC spec #19

@jamesadler

Description

@jamesadler

i have a valid email a@example.com but the isValid function is incorrectly checking if the left side is greater than 1 character

please use a more standardized way to validate emails, e.g.
var_dump(filter_var('a@example.com', FILTER_VALIDATE_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