Sat, 29 Nov 2008 05:56:09 +0500
Improved the regexp used to parse the client response a bit. Authenticating with non-ascii realm values now works.
util/sasl.lua | file | annotate | diff | comparison | revisions |
--- a/util/sasl.lua Sat Nov 29 05:53:11 2008 +0500 +++ b/util/sasl.lua Sat Nov 29 05:56:09 2008 +0500 @@ -66,7 +66,7 @@ local function parse(data) message = {} - for k, v in gmatch(data, [[([%w%-]+)="?([%w%-%/%.%+=]+)"?,?]]) do + for k, v in gmatch(data, [[([%w%-]+)="?([^",]*)"?,?]]) do message[k] = v end return message