]> git.ipfire.org Git - thirdparty/curl.git/commit
digest: Do not quote algorithm in HTTP authorisation
authorPierre-Yves Bigourdan <pierre-yves.bigourdan@bbc.co.uk>
Thu, 6 Feb 2020 15:43:06 +0000 (15:43 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Fri, 7 Feb 2020 21:46:21 +0000 (22:46 +0100)
commitfeba3f0549af546677ee2d924344234fd91b8f50
tree0b9026d8a38a8b13980c9ccd8612b7322c1b0ee4
parent5ce7102ceae250e2d31b54aad2f33b3bc35f243a
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
15 files changed:
lib/vauth/digest.c
tests/data/test1437
tests/data/test153
tests/data/test2058
tests/data/test2059
tests/data/test2060
tests/data/test2061
tests/data/test2062
tests/data/test2063
tests/data/test2064
tests/data/test2065
tests/data/test2066
tests/data/test2067
tests/data/test2068
tests/data/test2069