mirror of
https://github.com/curl/curl.git
synced 2026-08-25 17:43:39 +03:00
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
This commit is contained in:
parent
9097843e8f
commit
1c1d9f1aff
6 changed files with 32 additions and 40 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"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue