Dear Giuseppe,

no more .netrc auth for http with 1.19 - this patch worked for me:

--- src/http.c.orig     2017-02-06 16:03:45.000000000 +0100
+++ src/http.c  2017-02-06 16:03:45.000000000 +0100
@@ -1900,7 +1900,7 @@
     *passwd = NULL;

   /* Check for ~/.netrc if none of the above match */
-  if (opt.netrc && (!user || !passwd))
+  if (opt.netrc && (!*user || !*passwd))
search_netrc (u->host, (const char **) user, (const char **) passwd, 0);

   /* We only do "site-wide" authentication with "global" user/password

--
+----------------------------------------------------------+
| Hofer Textilveredelungs GmbH| Fon:   +49-9281/750-299    |
|  Axel Reinhold, CIO         | Fax:   +49-9281/750-406    |
| Am Wiesengrund 20           | a...@lamination.de          |
| 95032 Hof                   | HRB Hof 1988               |
| Geschaefsfuehrer: Dr. Jakob Gonczarowski                 |
+----------------------------------------------------------+
| Bitte um Nur-Text-Mails - Office-, HTML, .EXE-Anhaenge   |
|            oeffne ich grundsaetzlich nicht.              |
+----------------------------------------------------------+

BEGIN:VCARD
VERSION:2.1
N:Reinhold;Axel
FN:Axel Reinhold
ORG:Hofer Textilveredelungs GmbH
ADR:;;Am Wiesengrund 20;Hof;;95032;Germany
TEL;WORK:+49-9281-750-299
TEL;FAX:+49-9281-750-270
TEL;CELL:+49-172-9382465
EMAIL:a...@lamination.de
END:VCARD

Reply via email to