We weren't properly handling passwords with a colon in them.
This commit is contained in:
parent
aae66aca71
commit
f248d0e00b
1 changed files with 1 additions and 1 deletions
|
@ -29,7 +29,7 @@ def process_basic_auth(auth):
|
|||
logger.debug('Invalid basic auth format.')
|
||||
return
|
||||
|
||||
credentials = b64decode(normalized[1]).split(':')
|
||||
credentials = b64decode(normalized[1]).split(':', 1)
|
||||
|
||||
if len(credentials) != 2:
|
||||
logger.debug('Invalid basic auth credential format.')
|
||||
|
|
Reference in a new issue