From 8c1142a7704e4145b38ce1a7a9075cb7ab1e3e6a Mon Sep 17 00:00:00 2001 From: yackob03 Date: Sun, 9 Feb 2014 23:59:30 -0500 Subject: [PATCH] We weren't properly handling passwords with a colon in them. --- auth/auth.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/auth/auth.py b/auth/auth.py index 11680cfee..9c6281aef 100644 --- a/auth/auth.py +++ b/auth/auth.py @@ -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.')