aboutsummaryrefslogtreecommitdiffstats
path: root/util/sasl/plain.lua
diff options
context:
space:
mode:
authorTobias Markmann <tm@ayena.de>2009-12-03 21:57:47 +0100
committerTobias Markmann <tm@ayena.de>2009-12-03 21:57:47 +0100
commitfe477e0e110a90fdb69bf32fe840422359b8c44e (patch)
tree3f8379c2474be570905cdd116bc5e9b4110ed3e1 /util/sasl/plain.lua
parent90cf9371a5f050f94ab0cce3cd5b0c00e03788ad (diff)
parentdfb723915efb6e91423187b4e1d933c16bee9dc6 (diff)
downloadprosody-fe477e0e110a90fdb69bf32fe840422359b8c44e.tar.gz
prosody-fe477e0e110a90fdb69bf32fe840422359b8c44e.zip
Redo merge with Waqas' PBKDF2 optimizations.
Diffstat (limited to 'util/sasl/plain.lua')
-rw-r--r--util/sasl/plain.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/sasl/plain.lua b/util/sasl/plain.lua
index a4c8765d..ae5c777a 100644
--- a/util/sasl/plain.lua
+++ b/util/sasl/plain.lua
@@ -24,7 +24,7 @@ local function plain(self, message)
return "failure", "malformed-request";
end
- local authorization, authentication, password = s_match(message, "^([^%z]+)%z([^%z]+)%z([^%z]+)");
+ local authorization, authentication, password = s_match(message, "^([^%z]*)%z([^%z]+)%z([^%z]+)");
if not authorization then
return "failure", "malformed-request";