You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The ipv6 validator returns false positive for incorrect number of octets in the ipv6 address. The following are invalid ipv6 while the function returns True: 00:00:00:00:00 1111:2222:3333:4444:5555:6666:7777 1111:2222:3333:4444:1.2.3.4 (this should have contained compressed octet to return a True)
This is a secondary check that you could add for cases having spaces (or other invalid characters):
For instance, 2001:0000:1234: 0000:0000:C1C0:ABCD:0876 should be flagged as invalid due to a space character after the third octet.
On Sat, Apr 11, 2020 at 6:09 PM mondeja ***@***.***> wrote:
This is a secondary check that you could add for cases having spaces (or
other invalid characters):
For instance, 2001:0000:1234: 0000:0000:C1C0:ABCD:0876 should be flagged
as invalid due to a space character after the third octet.
I can't reproduce this.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#152 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAQ5HBZTZ55J73N7LH6QW73RMBQJXANCNFSM4MF4EVTA>
.
Activity
devikasondhi commentedon Apr 11, 2020
Hello,
This is a secondary check that you could add for cases having spaces (or other invalid characters):
For instance,
2001:0000:1234: 0000:0000:C1C0:ABCD:0876should be flagged as invalid due to a space character after the third octet.devikasondhi commentedon Apr 11, 2020
GregIthaca commentedon Aug 13, 2020
Also, at present MAC addresses are accepted as valid IPv6 addresses, which they are not.
kvesteri commentedon Aug 17, 2020
PRs welcome
hpfousac commentedon Feb 22, 2022
The issue is still there:
Actually I'm using following construction to detect if IP address has correct format:
maint: improves `ip_address` module
maint: improves `ip_address` module
maint: improves `ip_address` module
maint: improves `ip_address` module
maint: improves `ip_address` module