diff --git a/util/headers.py b/util/headers.py index 8967dfaa7..353cc61dc 100644 --- a/util/headers.py +++ b/util/headers.py @@ -11,7 +11,7 @@ def parse_basic_auth(header_value): return None try: - basic_parts = base64.b64decode(parts[1]).split(':') + basic_parts = base64.b64decode(parts[1]).split(':', 1) if len(basic_parts) != 2: return None