-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Closed
Description
It seems that Zod email validation accepts emails that are not conforming to RFC specifications.
" In addition to restrictions on syntax, there is a length limit on email addresses. That limit is a maximum of 64 characters (octets) in the "local part" (before the "@") and a maximum of 255 characters (octets) in the domain part (after the "@") for a total length of 320 characters. Systems that handle email should be prepared to process addresses which are that long, even though they are rarely encountered."
So the issues is that Zod does not count total number of chars or separate "local part" and "domain part".
Should I open a PR or is this something that is already on someones table?
aripalo and aidasbui
Metadata
Metadata
Assignees
Labels
No labels