aboutsummaryrefslogtreecommitdiffstats
path: root/util/sasl/plain.lua
diff options
context:
space:
mode:
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";