[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug-wget] [bug #46024] wget does not work for a server sending RFC 2069
From: |
anonymous |
Subject: |
[Bug-wget] [bug #46024] wget does not work for a server sending RFC 2069 Digest Header |
Date: |
Tue, 22 Sep 2015 09:35:18 +0000 |
User-agent: |
Mozilla/5.0 (compatible; Konqueror/3.5; FreeBSD) KHTML/3.5.10 (like Gecko) |
URL:
<http://savannah.gnu.org/bugs/?46024>
Summary: wget does not work for a server sending RFC 2069
Digest Header
Project: GNU Wget
Submitted by: None
Submitted on: Di 22 Sep 2015 09:35:17 UTC
Category: Program Logic
Severity: 3 - Normal
Priority: 5 - Normal
Status: None
Privacy: Public
Assigned to: None
Originator Name: Andreas Longwitz
Originator Email: address@hidden
Open/Closed: Open
Discussion Lock: Any
Release: trunk
Operating System: *BSD
Reproducibility: Every Time
Fixed Release: None
Planned Release: None
Regression: None
Work Required: None
Patch Included: Yes
_______________________________________________________
Details:
If a server sends a response
WWW-Authenticate: Digest realm="clt1",
nonce="5601196e8bf88ca8047b8cbee1f9f5eec70419e3"
without algorithm and qop, then wget stops with error.
The breaking commit was 92035dbabd8bb7fc3d10535c97adad2088c9129b
called "Fix erroneous error codes when HTTP Digest Authentication fails."
The following patch against wget 1.16.3 works for me:
--- src/http.c.orig 2015-02-10 22:30:53.000000000 +0100
+++ src/http.c 2015-09-22 11:00:21.489732814 +0200
@@ -3857,7 +3857,7 @@
xfree (qop); /* force freeing mem and return */
}
- if (!realm || !nonce || !user || !passwd || !path || !method || !qop)
+ if (!realm || !nonce || !user || !passwd || !path || !method )
{
xfree (realm);
xfree (opaque);
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?46024>
_______________________________________________
Nachricht gesendet von/durch Savannah
http://savannah.gnu.org/
- [Bug-wget] [bug #46024] wget does not work for a server sending RFC 2069 Digest Header,
anonymous <=