lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


	Hi

On Thu, 19 Jan 2012, Daurnimator wrote:
...
As a note; other special entities need to be escaped too:

res = res:gsub("[<>&\"]",{ ["<"] = "&lt;" , [">"]="&gt;" , ["&"]="&amp;" ,
["\""] = "&quot;" } )
	Next version of LuaSOAP will automatically encode these characters
and also "'" which will be converted to "&apos;".

	Regards,
		Tomás