Open trenyture opened 10 months ago
I have a user who could register in our database while his email is not a valid one : ĥenry@gmail.com
When I tested it, the regex said it's a valid one when it should not...
> await validate({ email: "ĥenry@gmail.com", validateRegex: true, validateMx: true, validateTypo: true, validateDisposable: true, validateSMTP: false }) { valid: true, validators: { regex: { valid: true }, typo: { valid: true }, disposable: { valid: true }, mx: { valid: true }, smtp: { valid: true } } }
I have a user who could register in our database while his email is not a valid one : ĥenry@gmail.com
When I tested it, the regex said it's a valid one when it should not...