Skip to content
New issue

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

[2963] Fixed emails with exclamation mark failing validation #2963 #3427

Closed
wants to merge 1 commit into from

Conversation

uzair888
Copy link

Fixes #2963

Copy link

netlify bot commented Apr 21, 2024

Deploy Preview for guileless-rolypoly-866f8a ready!

Built without sensitive environment variables

Name Link
🔨 Latest commit c1250f0
🔍 Latest deploy log https://app.netlify.com/sites/guileless-rolypoly-866f8a/deploys/66254ef1927e870008ceccfc
😎 Deploy Preview https://deploy-preview-3427--guileless-rolypoly-866f8a.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@colinhacks
Copy link
Owner

Thanks, but Zod is intentionally quite strict with email addresses and intentionally implements "Gmail validation" rules. See #2157. In the next version of Zod I'm thinking about how to accommodate a wider range of preferences here.

@colinhacks colinhacks closed this Apr 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

z.string().email() fails when email contains an exclamation mark
2 participants