Skip to content

More problems with email validation #30

Description

@thet
  • These incorrect mails would match OK: test@aha.ok hello, test@aha.ok, test@okay.aha okay@aha.test
    A change of the regex to ^[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\.[A-Za-z]{2,4}$ would fix that.

  • TLDs longer than 4 characters need to be supported. Due to the current non-strict validation regex, it would match OK. But with the change above we need to adapt the regex to support valid mails like: me@you.online with a TLD longer than 4 characters.

The other regex problems are still unsovled:

Here is another mail regex suggestion which seems to be quite complete:

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions