#942306 curl: Cookies are not sent to dotless host

Package:
curl
Source:
curl
Description:
command line tool for transferring data with URL syntax
Submitter:
Stefan Seidel
Date:
2019-10-14 09:21:07 UTC
Severity:
normal
#942306#5
Date:
2019-10-14 09:18:01 UTC
From:
To:
Dear Maintainer,

after upgrading from stretch to buster, some scripts using cURL wwere failing. I think I traced it down to the curl bug 3676:
https://github.com/curl/curl/issues/3676

Cookies from a cookie file are not sent to the host when the host is a dotless hostname, i.e. http://testhost/

The bug is fixed upstream but the change appears to not have made it into the Debian build.

I would be great if the fix could be incorporated into Debian stable.