summaryrefslogtreecommitdiff
path: root/lib/url.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2021-05-29 23:57:58 +0200
committerDaniel Stenberg <daniel@haxx.se>2021-05-30 19:49:40 +0200
commit1c1d9f1affbd3367bcb24062e261d0ea5d185e3a (patch)
treecebd58fc62fe33c97b6f22d0f03b3d87a65e04ae /lib/url.c
parent9097843e8fe42aa237c3c2087cfde781fbb5b331 (diff)
downloadcurl-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.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/url.c b/lib/url.c
index 1ee38af0d..edcdf54b1 100644
--- a/lib/url.c
+++ b/lib/url.c
@@ -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"