aboutsummaryrefslogtreecommitdiffstats
path: root/util/sasl/plain.lua
diff options
context:
space:
mode:
authorTobias Markmann <tm@ayena.de>2009-12-03 21:53:36 +0100
committerTobias Markmann <tm@ayena.de>2009-12-03 21:53:36 +0100
commitdfb723915efb6e91423187b4e1d933c16bee9dc6 (patch)
treee408732ce3d72e1efeaa3206bfd27a5d62923295 /util/sasl/plain.lua
parentdcfc9865db2d9cb9db94dd7cb89081ae256f0aee (diff)
parent7e555e0bd96230d161d90bdd9c0816baf254cc71 (diff)
downloadprosody-dfb723915efb6e91423187b4e1d933c16bee9dc6.tar.gz
prosody-dfb723915efb6e91423187b4e1d933c16bee9dc6.zip
Merge with Waqas.
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";