[BUG] Invalid IPv6 address
Opened this issue · 1 comments
markusguenther commented
What / Why
I have a valid email address with IPV6, but the validate function returns false.
When I use the IPV4 address, everything is fine.
When
isemail.validate('test@[2001:db8:85a3:8d3:1319:8a2e:370:7348]')
This is sadly invalid.
How
Current Behavior
isemail.validate('test@[2001:db8:85a3:8d3:1319:8a2e:370:7348]')
// returns false
Expected Behavior
The address will return true as validation result.
markusguenther commented
Thanks for the library… Hope that I did not miss an option to make it work 🙈