aboutsummaryrefslogtreecommitdiffstats
path: root/util/sasl/plain.lua
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2009-12-02 20:33:09 +0000
committerMatthew Wild <mwild1@gmail.com>2009-12-02 20:33:09 +0000
commit2370fec36d773894955fa6fbf738435856148538 (patch)
tree41dd03a5d2dd001e5c268281f4f412c565921ed7 /util/sasl/plain.lua
parent44066a08973f29598540253e317ef6f9b98d5133 (diff)
parent8c48053170aa1d6f0bfc057edf6fd7ede1c6a507 (diff)
downloadprosody-2370fec36d773894955fa6fbf738435856148538.tar.gz
prosody-2370fec36d773894955fa6fbf738435856148538.zip
Merge with Tobias
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 ae5c777a..a4c8765d 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";