diff options
author | Daniel Stenberg <daniel@haxx.se> | 2021-05-29 23:57:58 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2021-05-30 19:49:40 +0200 |
commit | 1c1d9f1affbd3367bcb24062e261d0ea5d185e3a (patch) | |
tree | cebd58fc62fe33c97b6f22d0f03b3d87a65e04ae /lib/url.c | |
parent | 9097843e8fe42aa237c3c2087cfde781fbb5b331 (diff) | |
download | curl-1c1d9f1affbd3367bcb24062e261d0ea5d185e3a.tar.gz |
hsts: ignore numberical IP address hosts
Also, use a single function library-wide for detecting if a given hostname is
a numerical IP address.
Reported-by: Harry Sintonen
Fixes #7146
Closes #7149
Diffstat (limited to 'lib/url.c')
-rw-r--r-- | lib/url.c | 1 |
1 files changed, 0 insertions, 1 deletions
@@ -92,7 +92,6 @@ bool curl_win32_idn_to_ascii(const char *in, char **out); #include "speedcheck.h" #include "warnless.h" #include "non-ascii.h" -#include "inet_pton.h" #include "getinfo.h" #include "urlapi-int.h" #include "system_win32.h" |