aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWaqas Hussain <waqas20@gmail.com>2008-11-29 05:57:57 +0500
committerWaqas Hussain <waqas20@gmail.com>2008-11-29 05:57:57 +0500
commitc070aa7279f57db0e954ca8004f514e4c8afdcaa (patch)
tree4f20717705dd155cec55b74e767bf62f8ba5dee3
parentfa1df6cfe4f7dae1827faf785c40c42f3d00a6db (diff)
downloadprosody-c070aa7279f57db0e954ca8004f514e4c8afdcaa.tar.gz
prosody-c070aa7279f57db0e954ca8004f514e4c8afdcaa.zip
Added a FIXME
-rw-r--r--util/sasl.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/sasl.lua b/util/sasl.lua
index a1f36760..0f03647f 100644
--- a/util/sasl.lua
+++ b/util/sasl.lua
@@ -66,7 +66,7 @@ local function new_digest_md5(realm, password_handler)
local function parse(data)
message = {}
- for k, v in gmatch(data, [[([%w%-]+)="?([^",]*)"?,?]]) do
+ for k, v in gmatch(data, [[([%w%-]+)="?([^",]*)"?,?]]) do -- FIXME The hacky regex makes me shudder
message[k] = v
end
return message