-
-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Closed
Description
Describe the bug
A clear and concise description of what the bug is.
validator 13.5.1 doesn't support 163/126 format email such as [email protected] or [email protected]
163/126 is Netease email service。It is very popular in China
validator 13.1.1 can support 163/126
Examples
If applicable, add screenshots to help explain your problem.
code: validator_mail.js
'use strict';
const validator = require('validator');
console.log(validator.isEmail(process.argv[2]));
13.5.1 test case:
npm install [email protected]
node validator_mail.js [email protected]
false
13.1.1 test case:
npm install [email protected]
node validator_mail.js [email protected]
true
Additional context
Validator.js version: 13.5.1
Node.js version:v11.2.0
OS platform: [windows, linux, macOS, etc] linux Ubuntu 18.04.1 LTS
josephtannenbaum, profnandaa and lehno