Skip to content
This repository has been archived by the owner on Oct 2, 2024. It is now read-only.

[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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant