zod
zod copied to clipboard
z.string().email() does not validate successfully where emails have single quotes in them
z.string().email() fails validation when an email with a single quote (') is used.
Example:
o'[email protected]
This is allowed in RFFC 5332 as well.
Could we get the fix on this approved?
Any update on this? This is causing problems for quite a few of our users.
+1 — seeing legitimate email addresses from Google Workspaces get flagged erroneously. E.g. brian.o'[email protected]
@colinhacks Could we please get an update on this?
Is this issue still open?