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
It seems like valid email addresses with spaces in front / after are passed as valid.
2.3.0 :001 > ValidatesEmailFormatOf::validate_email_format(" invalid@github.com ") => nil 2.3.0 :002 > ValidatesEmailFormatOf::validate_email_format(" invalid@github.com") => nil 2.3.0 :003 > ValidatesEmailFormatOf::validate_email_format("invalid@github.com ") => nil 2.3.0 :005 > ValidatesEmailFormatOf::validate_email_format("invalid@github.com this will fail") => ["does not appear to be a valid e-mail address"]
It might be a good idea to trim email addresses before validation.
The text was updated successfully, but these errors were encountered:
aee22f5
Do not strip spaces before validating
a96f644
This should be done in the user's application, not the gem Fixes #61 Fixes #72
No branches or pull requests
It seems like valid email addresses with spaces in front / after are passed as valid.
It might be a good idea to trim email addresses before validation.
The text was updated successfully, but these errors were encountered: