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

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