Open anthony-healthstreet opened 7 months ago
its a near impossible task to make this cover all cases. for instance this:
"@dk" is a valid email
None of my business, but since you mentioned me here (as @dk), there is a brilliant book by jeffrey friedl about regexes, where he covers exactly rfc-strict email parsing :)
None of my business, but since you mentioned me here (as @dk), there is a brilliant book by jeffrey friedl about regexes, where he covers exactly rfc-strict email parsing :)
hahah I get that all the time with @threads and @klh ;)
Fixed in Zod 3.23.0
Fixed in Zod 3.23.0
I believe this should've been closed
It seems that the zod validation for email is allowing commas through which does not match the RFC 5322 standards.
I'm on version
3.22.4
To reproduce (playground link):
Workaround - Disable typing of commas into input fields