aboutsummaryrefslogtreecommitdiffstats
path: root/util/sasl/plain.lua
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2009-12-01 19:57:54 +0000
committerMatthew Wild <mwild1@gmail.com>2009-12-01 19:57:54 +0000
commit40bfbc64b5b0a1b6ea81e58ea8136f1549fcac6a (patch)
treea1d026fab9d696203bbb60c68a0eb1d12b5ea1dc /util/sasl/plain.lua
parent29d4a0246b3fcf2a6c75cf42b41c11ec658dab32 (diff)
parent7e555e0bd96230d161d90bdd9c0816baf254cc71 (diff)
downloadprosody-40bfbc64b5b0a1b6ea81e58ea8136f1549fcac6a.tar.gz
prosody-40bfbc64b5b0a1b6ea81e58ea8136f1549fcac6a.zip
Merge with trunk
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";