We weren't properly handling passwords with a colon in them.

This commit is contained in:
yackob03 2014-02-09 23:59:30 -05:00
parent a220d59e4b
commit 8c1142a770

View file

@ -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.')