curl might leak authentication or cookie header data on HTTP redirects to the same host but another port number. https://curl.se/docs/CVE-2022-27776.html