-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
Non breaking space bypass email validation #2218
Comments
4 tasks
I've created a PR (#2237) that hopefully addresses this issue in a satisfactory manner. I'd appreciate some feedback if a maintainer has the chance. |
profnandaa
pushed a commit
that referenced
this issue
Jun 26, 2023
Co-authored-by: jpoole <jpoole@maxmind.com> fixes #2218
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
"test test@test.com" won't pass since it's a regular space (0x0020), but "test test@test.com" will pass since it's a non breaking space (0x00A0).
In fact, /\s/ regex pattern is not checking for non breaking spaces.
Here is a thread about it: https://stackoverflow.com/questions/31790440/regex-to-replace-no-break-space
The text was updated successfully, but these errors were encountered: