We weren't properly handling passwords with a colon in them.
This commit is contained in:
parent
a220d59e4b
commit
8c1142a770
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