changeset 2314 | c2e1bde4d84d |
parent 2290 | ef7027a0f0c9 |
child 2991 | 0fa3a7c885bd |
--- a/util/sasl/plain.lua Thu Dec 03 19:18:18 2009 +0000 +++ b/util/sasl/plain.lua Thu Dec 03 21:57:47 2009 +0100 @@ -24,7 +24,7 @@ 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";