lua-users home
lua-l archive

Re: LuaSoap and argument containting an '&'

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


	Hi
On 2012年1月19日, 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

AltStyle によって変換されたページ (->オリジナル) /