Email Validation incorrect
See original GitHub issueVersions
- vee-validate: 2.0.0-rc.26
- vue: 2.5.9
Describe the bug Since our mail client isn’t SMTPUTF8-aware it can’t handle UTF-8 encoded email addresses. Vee Validate seems to accept UTF-8 in email validation rule (which is an SMTP Extension: RFC 6531). We need a way to configure that rule to don’t accept every UTF-8 character.
To Reproduce Steps to reproduce the behavior:
- Go to Vee Validate Documentation for email rule: https://baianat.github.io/vee-validate/guide/rules.html#email
- Enter invalid email address:
föö@bar.de
- No validation error
Expected behavior Since the email address is invalid it should give a validation error
Demo Link https://baianat.github.io/vee-validate/guide/rules.html#email
Desktop (please complete the following information):
- OS: Windows 7 Enterprise
- Browser: Chrome 66.0.3359.181
Issue Analytics
- State:
- Created 5 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
Your E-Mail Validation Logic is Wrong - netmeister.org
Your E-Mail Validation Logic is Wrong ; 1. Email addresses can contain multiple '@'s. ; 2. Bang paths may be accepted. ; 3....
Read more >How to Fix an Invalid Email Address: Best Guide 2022 [updated]
Here are the main reasons an email address will be invalid. ensuring the email validation of your list is key to your deliverability....
Read more >6 mistakes you're probably making with email validation - Loqate
Mistake 1 - Making people enter their address twice · Mistake 2 - Not using inline validation · Mistake 3 - Being too...
Read more >The 100% correct way to validate email addresses
There is no point in trying to work out if an email address is 'valid'. A user is far more likely to enter...
Read more >How To Create A Custom Email Validation Error Message
A validation error message provides information about the validity of an email address. It can contain syntax, semantics, and system-related ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@toadkicker Sorry I didn’t see your comment, but the
gmail
emails require more than 5 characters in the identifier to be valid sotodd@gmail.com
is actually invalid. We usevalidator.js
for email validation and a couple of other validations.