We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi, I was comparing this crate with validator crate, you mentioned in #16.
validator
And I have an email with a controversial character � - https://en.wikipedia.org/wiki/Specials_(Unicode_block) Then email_address and validator do not agree if it is valid or notabc�def@example.com
abc�def@example.com
let email = "abc�def@example.com"; EmailAddress::from_str(email).is_ok(); // true validator::validate_email(email); // false
At the moment this crate allows valid email with UTF8 - I guess that's according to
perhaps this could be part of parse_with_options suggested in #20.
parse_with_options
Probably the best thing for the community would be to have just one crate for email validation.
The text was updated successfully, but these errors were encountered:
This is a defect. The is_uchar test was way to permissive. Have replaced it with is_utf8_non_ascii as it should be. Release soon.
is_uchar
is_utf8_non_ascii
Sorry, something went wrong.
fix: is_uchar is too permissive
f7abaed
Replace `is_uchar` with the correct `is_utf8_non_ascii`. Fixes Github issue #21
See release 0.2.9
No branches or pull requests
Hi, I was comparing this crate with
validator
crate, you mentioned in #16.And I have an email with a controversial character � - https://en.wikipedia.org/wiki/Specials_(Unicode_block)
Then email_address and validator do not agree if it is valid or not
abc�def@example.com
At the moment this crate allows valid email with UTF8 - I guess that's according to
perhaps this could be part of
parse_with_options
suggested in #20.Probably the best thing for the community would be to have just one crate for email validation.
The text was updated successfully, but these errors were encountered: