Skip to content

This john.doe@gmail is valid — we need a strict email mode #381

@brsnik

Description

@brsnik

I'm guessing #[validate(email)] is following the syntax from RFC5322.

However there is no point (for me — and I'm guessing for most devs) in using a validation create if I have to write my own custom validator for something as common as email.

This can stay as is for backwards compatibility.
But I suggest implementing #[validate(email_strict)] which will validate the top-level domain as well!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions