diff options
-rw-r--r-- | lib/url.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1989,7 +1989,7 @@ static CURLcode Connect(struct UrlData *data, * IPv6-specified addresses in the [0::1] style. *************************************************************/ - if((1 == sscanf(conn->name, "[%*39[0-9a-fA-F:]%c", &endbracket)) && + if((1 == sscanf(conn->name, "[%*39[0-9a-fA-F:.]%c", &endbracket)) && (']' == endbracket)) { /* this is a IPv6-style specified IP-address */ #ifndef ENABLE_IPV6 |