Fixes the following security issues:
- CVE-2022-43551: Another HSTS bypass via IDN
https://curl.se/docs/CVE-2022-43551.html
- CVE-2022-43552: HTTP Proxy deny use-after-free
https://curl.se/docs/CVE-2022-43552.html
Changelog: https://curl.se/changes.html
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
(cherry picked from commit 3b91fd7501)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>