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/test2060 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/data/test2060') diff --git a/tests/data/test2060 b/tests/data/test2060 index a0b291dc2..05ce35103 100644 --- a/tests/data/test2060 +++ b/tests/data/test2060 @@ -95,7 +95,7 @@ Content-Length: 0 GET http://%HOSTIP:%HTTPPORT/2060 HTTP/1.1 Host: %HOSTIP:%HTTPPORT -Authorization: Digest username="auser", realm="testrealm", nonce="1053604144", uri="/2060", response="3ce1e25ffa611bdbe90e2ab367b9602fa223db9f6de76ac667f0d6157e2178a6", algorithm="SHA-512-256" +Authorization: Digest username="auser", realm="testrealm", nonce="1053604144", uri="/2060", response="3ce1e25ffa611bdbe90e2ab367b9602fa223db9f6de76ac667f0d6157e2178a6", algorithm=SHA-512-256 Content-Range: bytes 2-4/5 Accept: */* Proxy-Connection: Keep-Alive -- cgit v1.2.3