From 0ec4aa36761fbaaa22d614d13c4e77f908fa2ed5 Mon Sep 17 00:00:00 2001 From: Yann Leboulanger Date: Tue, 6 Feb 2007 08:57:59 +0000 Subject: [PATCH] [smoku] fix SASL auth. fixes #1911 --- src/common/xmpp/auth_nb.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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]