[curl/curl] 98ba9e: hsts: ignore numberical IP address hosts

Daniel Stenberg <[email protected]> Sat, 29 May 2021 15:00:12 -0700
Newsgroups gmane.comp.web.curl.cvs
Message-ID <curl/curl/push/refs/heads/bagder/hsts-no-ip/[email protected]>
  Branch: refs/heads/bagder/hsts-no-ip
  Home:   https://github.com/curl/curl
  Commit: 98ba9e2361350a3ea97d9d6ce8b06c28cf559da4
      https://github.com/curl/curl/commit/98ba9e2361350a3ea97d9d6ce8b06c28cf559da4
  Author: Daniel Stenberg <[email protected]>
  Date:   2021-05-29 (Sat, 29 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


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