Software /
code /
prosody
Diff
util/sasl/plain.lua @ 2294:90e4941ea8b6
Merge with Tobias
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Wed, 02 Dec 2009 20:33:09 +0000 |
parent | 2290:ef7027a0f0c9 |
child | 2314:c2e1bde4d84d |
line wrap: on
line diff
--- a/util/sasl/plain.lua Wed Dec 02 20:32:44 2009 +0000 +++ b/util/sasl/plain.lua Wed Dec 02 20:33:09 2009 +0000 @@ -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";