Software /
code /
prosody
Diff
util/sasl/plain.lua @ 2271:a6d69f00a509
Merge with trunk
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Tue, 01 Dec 2009 19:57:54 +0000 |
parent | 2269:9368ab10c1a8 |
child | 2290:ef7027a0f0c9 |
line wrap: on
line diff
--- a/util/sasl/plain.lua Tue Dec 01 19:57:33 2009 +0000 +++ b/util/sasl/plain.lua Tue Dec 01 19:57:54 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";