aboutsummaryrefslogtreecommitdiffstats
path: root/util/sasl.lua
diff options
context:
space:
mode:
authorTobias Markmann <tm@ayena.de>2008-11-29 11:24:59 +0100
committerTobias Markmann <tm@ayena.de>2008-11-29 11:24:59 +0100
commitabf0d19152cbf880252435d2801d852ce0459df8 (patch)
treebfde55649a88754f29d5bdbd68d3d2817675d3e8 /util/sasl.lua
parenta718775bd40db918564a31e90f4c17a98a4cecfc (diff)
parentdcf87bb7c912e4206aae1fd3c959d87e8f59242f (diff)
downloadprosody-abf0d19152cbf880252435d2801d852ce0459df8.tar.gz
prosody-abf0d19152cbf880252435d2801d852ce0459df8.zip
Forced merge.
Diffstat (limited to 'util/sasl.lua')
-rw-r--r--util/sasl.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/sasl.lua b/util/sasl.lua
index f10fb934..f5ef04b8 100644
--- a/util/sasl.lua
+++ b/util/sasl.lua
@@ -67,7 +67,7 @@ local function new_digest_md5(realm, password_handler)
local function parse(data)
message = {}
- for k, v in gmatch(data, [[([%w%-]+)="?([%w%-%/%.%+=]+)"?,?]]) do
+ for k, v in gmatch(data, [[([%w%-]+)="?([^",]*)"?,?]]) do -- FIXME The hacky regex makes me shudder
message[k] = v
end
return message