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

ipv6: case insensitive comparison #3681

Open
nick-zh opened this issue Jul 29, 2024 · 0 comments
Open

ipv6: case insensitive comparison #3681

nick-zh opened this issue Jul 29, 2024 · 0 comments

Comments

@nick-zh
Copy link

nick-zh commented Jul 29, 2024

I might be mistaken, but I think the ipv6 comparison is case sensitive.
From what I can see on wiki:

The hexadecimal digits are always compared in case-insensitive manner, but IETF recommendations suggest the use of only lower case letters. For example, 2001:db8::1 is preferred over 2001:DB8::1;

Maybe a toLowerCase should be added? I just ran into an issue because i got an ip that was mixed case 😞

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