diff options
author | Tobias Markmann <tm@ayena.de> | 2009-12-03 21:57:47 +0100 |
---|---|---|
committer | Tobias Markmann <tm@ayena.de> | 2009-12-03 21:57:47 +0100 |
commit | fe477e0e110a90fdb69bf32fe840422359b8c44e (patch) | |
tree | 3f8379c2474be570905cdd116bc5e9b4110ed3e1 /util/sasl/plain.lua | |
parent | 90cf9371a5f050f94ab0cce3cd5b0c00e03788ad (diff) | |
parent | dfb723915efb6e91423187b4e1d933c16bee9dc6 (diff) | |
download | prosody-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.lua | 2 |
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"; |