projects
/
prosody.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7aaa72b
)
util.sasl: Added compatibility workaround for jwchat sending an encoded trailing...
author
Waqas Hussain
<waqas20@gmail.com>
Wed, 18 Nov 2009 01:21:59 +0000
(06:21 +0500)
committer
Waqas Hussain
<waqas20@gmail.com>
Wed, 18 Nov 2009 01:21:59 +0000
(06:21 +0500)
util/sasl.lua
patch
|
blob
|
history
diff --git
a/util/sasl.lua
b/util/sasl.lua
index b6fc6d6648613cae8d349d00fda0e65ca0381b7d..91ce768cabe189dbefce418ed619b6395474cac4 100644
(file)
--- a/
util/sasl.lua
+++ b/
util/sasl.lua
@@
-129,7
+129,7
@@
local function new_digest_md5(realm, credentials_handler)
end
local function parse(data)
local message = {}
- for k, v in gmatch(data, [[([%w%-]+)="?([^",]*)"?,?]]) do -- FIXME The hacky regex makes me shudder
+ for k, v in gmatch(data, [[([%w%-]+)="?([^",
%z
]*)"?,?]]) do -- FIXME The hacky regex makes me shudder
message[k] = v;
end
return message;