]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-39548: Fix handling of 'WWW-Authenticate' header for Digest Auth (GH-18338)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Sat, 29 Feb 2020 21:05:23 +0000 (13:05 -0800)
committerGitHub <noreply@github.com>
Sat, 29 Feb 2020 21:05:23 +0000 (13:05 -0800)
commite4686b79798f7a492dcbaa62cf51f4d07fd5ae78
treee3c94cc8bbfaaec39f09c8f4b603b9092fbcf1d5
parent45c4112b7250cb600aa2f3a42b4e6b5bfd2919c4
bpo-39548: Fix handling of 'WWW-Authenticate' header for Digest Auth (GH-18338)

* bpo-39548: Fix handling of 'WWW-Authenticate' header for Digest authentication

 - The 'qop' value in the 'WWW-Authenticate' header is optional. The
   presence of 'qop' in the header should be checked before its value
   is parsed with 'split'.

Signed-off-by: Stephen Balousek <stephen@balousek.net>
* bpo-39548: Fix handling of 'WWW-Authenticate' header for Digest authentication

 - Add NEWS item

Signed-off-by: Stephen Balousek <stephen@balousek.net>
* Update Misc/NEWS.d/next/Library/2020-02-06-05-33-52.bpo-39548.DF4FFe.rst

Co-Authored-By: Brandt Bucher <brandtbucher@gmail.com>
Co-authored-by: Brandt Bucher <brandtbucher@gmail.com>
(cherry picked from commit 5e260e0fde211829fcb67060cfd602f4b679f802)

Co-authored-by: Stephen Balousek <sbalousek@users.noreply.github.com>
Lib/urllib/request.py
Misc/NEWS.d/next/Library/2020-02-06-05-33-52.bpo-39548.DF4FFe.rst [new file with mode: 0644]