diff --git a/src/common/xmpp/auth_nb.py b/src/common/xmpp/auth_nb.py index 854452f4f..fa6d40ad3 100644 --- a/src/common/xmpp/auth_nb.py +++ b/src/common/xmpp/auth_nb.py @@ -49,7 +49,7 @@ def challenge_splitter(data): if expecting == X_KEYWORD: if char == '=': expecting = X_VALUE - elif char == ',': + elif char in (',', ' ', '\t'): pass else: keyword = '%s%c' % (keyword, char) @@ -59,7 +59,7 @@ def challenge_splitter(data): end = True else: quotes_open = True - elif char == ",": + elif char in (',', ' ', '\t'): if quotes_open: if not arr: arr = [value]