We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
z.string().email() fails validation when an email with an Ampersand (&) is used.
Example: o&[email protected]
This is allowed in RFFC 5332 as well.
The text was updated successfully, but these errors were encountered:
Looks like zod follows "gmail rules", which is why ampersands are not allowed: #3411 (comment)
Sorry, something went wrong.
@rhiknow55 I have tested and gmail supports emails with Ampersand on it. So this seems to be a valid bug.
Successfully merging a pull request may close this issue.
z.string().email() fails validation when an email with an Ampersand (&) is used.
Example:
o&[email protected]
This is allowed in RFFC 5332 as well.
The text was updated successfully, but these errors were encountered: