> These expand to Lua long strings, [===[ and ]===] respectively,
> without checking, so theoretically the same issue will arise iff
> your string contains ]===]. I consider the likelihood for this to
> happen to be too low to bother, but if you want to be absolutely
> on the safe side you can also use \luaescapestring. See the
> Luatex manual, section 2.3.6.

The luaescapestring will also escape the quotation marks... :-)

I will use it, then.
I used to develop WEB systems. Very vulnerable to injection attacks. I
really like things properly escaped...


Cheers,
André Caldas.
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : [email protected] / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to