Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Invalid IPv6 address #216

Open
markusguenther opened this issue Nov 30, 2021 · 1 comment
Open

[BUG] Invalid IPv6 address #216

markusguenther opened this issue Nov 30, 2021 · 1 comment

Comments

@markusguenther
Copy link

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
Copy link
Author

Thanks for the library… Hope that I did not miss an option to make it work 🙈

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant