[smoku] fix SASL auth. fixes #1911
This commit is contained in:
parent
68619a5597
commit
0ec4aa3676
1 changed files with 2 additions and 2 deletions
|
@ -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]
|
||||
|
|
Loading…
Add table
Reference in a new issue