Diff

util/sasl.lua @ 458:ac17926c3282

Added a FIXME
author Waqas Hussain <waqas20@gmail.com>
date Sat, 29 Nov 2008 05:57:57 +0500
parent 457:f4701f69f459
child 475:fe861de7a4fc
line wrap: on
line diff
--- a/util/sasl.lua	Sat Nov 29 05:56:09 2008 +0500
+++ b/util/sasl.lua	Sat Nov 29 05:57:57 2008 +0500
@@ -66,7 +66,7 @@
 	
 	local function parse(data)
 		message = {}
-		for k, v in gmatch(data, [[([%w%-]+)="?([^",]*)"?,?]]) do
+		for k, v in gmatch(data, [[([%w%-]+)="?([^",]*)"?,?]]) do -- FIXME The hacky regex makes me shudder
 			message[k] = v
 		end
 		return message