mirror of
https://github.com/mirror/wget.git
synced 2025-02-01 23:30:11 +08:00
[svn] Fix netrc authorization in conjunction with HTTP.
Submitted by Daniel BODEA in <011901c162ca$19779df0$25c0a8c0@GHOTIX>.
This commit is contained in:
parent
2c37aef2d8
commit
5baed885db
@ -1,3 +1,9 @@
|
|||||||
|
2001-10-31 Daniel BODEA <dali@dali-designs.com>
|
||||||
|
|
||||||
|
* netrc.c (search_netrc): When slack_default is 0, still look for
|
||||||
|
an account with matching password, just not the "default account".
|
||||||
|
HTTP Authorization using .netrc should now work as expected.
|
||||||
|
|
||||||
2001-11-30 T. Bharath <TBharath@responsenetworks.com>
|
2001-11-30 T. Bharath <TBharath@responsenetworks.com>
|
||||||
|
|
||||||
* http.c (persistent_available_p): Call SHUTDOWN_SSL if
|
* http.c (persistent_available_p): Call SHUTDOWN_SSL if
|
||||||
|
@ -90,8 +90,6 @@ search_netrc (const char *host, const char **acc, const char **passwd,
|
|||||||
/* Acc and password found; all OK. */
|
/* Acc and password found; all OK. */
|
||||||
if (*acc && *passwd)
|
if (*acc && *passwd)
|
||||||
return;
|
return;
|
||||||
if (!*acc && !slack_default)
|
|
||||||
return;
|
|
||||||
/* Some data not given -- try finding the host. */
|
/* Some data not given -- try finding the host. */
|
||||||
for (l = netrc_list; l; l = l->next)
|
for (l = netrc_list; l; l = l->next)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user