[curl/curl] 1c1d9f: hsts: ignore numberical IP address hosts

Daniel Stenberg <[email protected]> Sun, 30 May 2021 10:50:12 -0700
Newsgroups gmane.comp.web.curl.cvs
Message-ID <curl/curl/push/refs/heads/master/[email protected]>
  Branch: refs/heads/master
  Home:   https://github.com/curl/curl
  Commit: 1c1d9f1affbd3367bcb24062e261d0ea5d185e3a
      https://github.com/curl/curl/commit/1c1d9f1affbd3367bcb24062e261d0ea5d185e3a
  Author: Daniel Stenberg <[email protected]>
  Date:   2021-05-30 (Sun, 30 May 2021)

  Changed paths:
    M lib/cookie.c
    M lib/hostcheck.c
    M lib/hostip.c
    M lib/hostip.h
    M lib/hsts.c
    M lib/url.c

  Log Message:
  -----------
  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


_______________________________________________
curl-commits mailing list
[email protected]
https://cool.haxx.se/cgi-bin/mailman/listinfo/curl-commits