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;" } )

I already replied to Sean but unfortunately forgeting the list :(
It's already what I'm doing but the result is the same as corresponding entities start themselve by a '&'.

Tomas wrote :
> Next version of LuaSOAP will automatically encode these characters
> and also "'" which will be converted to "&apos;".

Cool : when is the release forcasted ?

Thanks,

Laurent


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