Skip to content

Unhandled checks on email validator #108

@devikasondhi

Description

@devikasondhi

Hello,

I've come across a few checks that the current email validator does not take into account. Sharing them below.

  1. Local part of the email address should be less than 64 bytes. However, the validator returns True for john56789.john56789.john56789.john56789.john56789.john56789.john5@example.com

  2. The name <email_id> format isn't supported, even though it is valid as per RFC 2822 (https://tools.ietf.org/html/rfc2822#page15). Example: Abigail <[email protected]> is unexpectedly returned as invalid

  3. Multiple @ in the email aren't handled. Example of a valid email: Abigail<@a,@b,@c:[email protected]>

Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    maintenancePR: Alters existing source codeoutdatedIssue/PR: Open for more than 3 months

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions