mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Fix #3952 (Android Browser Problem - 500 Internal Server Error)
This commit is contained in:
parent
9c7da60b31
commit
cceff8b6fd
@ -225,7 +225,7 @@ def _A1(params, password):
|
||||
algorithm = params.get ("algorithm", MD5)
|
||||
H = DIGEST_AUTH_ENCODERS[algorithm]
|
||||
|
||||
if algorithm == MD5:
|
||||
if algorithm in (MD5, 'md5'):
|
||||
# If the "algorithm" directive's value is "MD5" or is
|
||||
# unspecified, then A1 is:
|
||||
# A1 = unq(username-value) ":" unq(realm-value) ":" passwd
|
||||
|
Loading…
x
Reference in New Issue
Block a user