util/sasl.lua

changeset 2083
47bfc69fb2d2
parent 2080
ca419b92a8c7
child 2088
5a9dc066a388
--- a/util/sasl.lua	Wed Nov 18 01:09:09 2009 +0000
+++ b/util/sasl.lua	Wed Nov 18 06:21:59 2009 +0500
@@ -129,7 +129,7 @@
 	end
 	local function parse(data)
 		local message = {}
-		for k, v in gmatch(data, [[([%w%-]+)="?([^",]*)"?,?]]) do -- FIXME The hacky regex makes me shudder
+		for k, v in gmatch(data, [[([%w%-]+)="?([^",%z]*)"?,?]]) do -- FIXME The hacky regex makes me shudder
 			message[k] = v;
 		end
 		return message;

mercurial