Skip to content

BUG: Wrong email validation #2982

@valerii15298

Description

@valerii15298

There were introduced breaking changes in minor release for email validation.
Previously emails such as som.el'[email protected] were successfully validated using z.string().email()

In zod 3.21.4 such email is valid
But in zod 3.22.4 such email is invalid

Such emails should be valid, so this issue should be fixed I suppose.

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