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

z.string().email() fails when email contains an exclamation mark #2963

Closed
devj3ns opened this issue Nov 14, 2023 · 2 comments
Closed

z.string().email() fails when email contains an exclamation mark #2963

devj3ns opened this issue Nov 14, 2023 · 2 comments

Comments

@devj3ns
Copy link

devj3ns commented Nov 14, 2023

z.string().email() fails with emails that contain an exclamation mark (!) e.g.

a!test@googlecalender.com

(This happened to me after upgrading from 3.21.4 to 3.22.0.)

@gaberudy
Copy link

I noticed this as well, in fact I had a test that used to validate with the email:

'test.and!#$%&*+-/=?^_`{|}~.stuff@example.com'

that now fails.

@colinhacks
Copy link
Owner

See #2157

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 a pull request may close this issue.

3 participants