On Montag, 6. Februar 2017 16:11:26 CET Axel Reinhold wrote: > 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
Thanks Axel, fix pushed to repo. Tim
signature.asc
Description: This is a digitally signed message part.