From feba3f0549af546677ee2d924344234fd91b8f50 Mon Sep 17 00:00:00 2001 From: Pierre-Yves Bigourdan Date: Thu, 6 Feb 2020 15:43:06 +0000 Subject: digest: Do not quote algorithm in HTTP authorisation RFC 7616 section 3.4 (The Authorization Header Field) states that "For historical reasons, a sender MUST NOT generate the quoted string syntax for the following parameters: algorithm, qop, and nc". This removes the quoting for the algorithm parameter. Reviewed-by: Steve Holme Closes #4890 --- tests/data/test1437 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/data/test1437') diff --git a/tests/data/test1437 b/tests/data/test1437 index 19ccece04..6a48444fb 100644 --- a/tests/data/test1437 +++ b/tests/data/test1437 @@ -75,7 +75,7 @@ Accept: */* GET /1437 HTTP/1.1 Host: %HOSTIP:%HTTPPORT -Authorization: Digest username="testuser", realm="testrealm", nonce="2", uri="/1437", response="4376eb639bf8e7343a6e7b56e1b89c4f", algorithm="MD5" +Authorization: Digest username="testuser", realm="testrealm", nonce="2", uri="/1437", response="4376eb639bf8e7343a6e7b56e1b89c4f", algorithm=MD5 User-Agent: curl/7.10.5 (i686-pc-linux-gnu) libcurl/7.10.5 OpenSSL/0.9.7a ipv6 zlib/1.1.3 Accept: */* -- cgit v1.2.3