-
-
Notifications
You must be signed in to change notification settings - Fork 6.4k
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
--resolve doesn't work with IPv6 addresses in bracket notation #2087
Comments
An IPv6 address is not generally written with brackets outside of URLs, see RFC 5952 "A Recommendation for IPv6 Address Text Representation". Can you explain why you think you should do it in I also don't see it mentioned in the documentation. |
There are three reasons I thought it should be used with brackets in
|
... so that IPv6 addresses can be passed like they can for connect-to and how they're used in URLs. Added test 1324 to verify Reported-by: Alex Malinovich Fixes #2087
You convinced me. Thanks! PR for adding support for brackets is in #2091 ! |
Thanks! |
I did this (host/ip are intentionally obfuscated)
I expected the following
For
myhost.domain.com
to resolve to[dead:beef:1234:5678:8765:4321:feed:daed]
, but what I got was:If I specify the IPv6 address incorrectly, that is without the brackets, then it works as expected:
curl/libcurl version
operating system
The text was updated successfully, but these errors were encountered: