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 aae66aca71
commit f248d0e00b

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