mirror of
https://github.com/moparisthebest/wget
synced 2024-07-03 16:38:41 -04:00
Fix #46024. Support RFC 2069 Digest Authentication
* http.c (digest_authentication_encode): Some servers are still using the obsolete RFC 2069 Digest Authentication. Allow Digest authentication without the qop parameter for this. Reported-by: Andreas Longwitz <longwitz@incore.de>
This commit is contained in:
parent
3ea0beec6f
commit
12dfc03116
@ -4628,12 +4628,9 @@ digest_authentication_encode (const char *au, const char *user,
|
||||
xfree (qop); /* force freeing mem and return */
|
||||
}
|
||||
|
||||
if (!realm || !nonce || !user || !passwd || !path || !method || !qop)
|
||||
if (!realm || !nonce || !user || !passwd || !path || !method)
|
||||
{
|
||||
if (!qop)
|
||||
*auth_err = UNKNOWNATTR;
|
||||
else
|
||||
*auth_err = ATTRMISSING;
|
||||
*auth_err = ATTRMISSING;
|
||||
|
||||
xfree (realm);
|
||||
xfree (opaque);
|
||||
|
Loading…
Reference in New Issue
Block a user