mikeerickson / validatorjs

A data validation library in JavaScript for the browser and Node.js, inspired by Laravel's Validator.
https://www.npmjs.com/package/validatorjs
MIT License
1.77k stars 280 forks source link

Email not passing with plus sign #435

Closed komocode closed 3 years ago

komocode commented 3 years ago

Gmail allows for john+2@doe.com but this will cause validatorjs to return false.

mogarick commented 3 years ago

Which version are you using? I use a lot of email accounts with "+" for testing and I've never had any trouble.

komocode commented 3 years ago

sorry, looks like i didn't encode the email properly. closing.