mirror of https://github.com/moparisthebest/curl
urlapi: one colon is enough for the strspn() input (typo)
This commit is contained in:
parent
eab3c580f9
commit
9637dbfffd
|
@ -597,7 +597,7 @@ static CURLUcode hostname_check(struct Curl_URL *u, char *hostname)
|
|||
|
||||
if(hostname[0] == '[') {
|
||||
char dest[16]; /* fits a binary IPv6 address */
|
||||
const char *l = "0123456789abcdefABCDEF::.";
|
||||
const char *l = "0123456789abcdefABCDEF:.";
|
||||
hostname++;
|
||||
hlen -= 2;
|
||||
|
||||
|
|
Loading…
Reference in New Issue