Question
Is there an easy way to escape unsafe data (which comes from untrusted source) in TWiki?
I need to query a data from existing mysql database using DatabasePlugin and the problem that some fields could contain potentially unsafe data which normally needs to be escaped. Unfortunately, <pre> and <verbatim> tags wouldn't help that much in this case as page layout could be broken due to long strings.
Can this be done on Twiki side?
Environment
--
ArtemTambovskiy - 06 Jul 2007
Answer
If you answer a question - or someone answered one of your questions - please remember to edit the page and set the status to answered. The status selector is below the edit box.
yes, but you'll need to write code - probly in
DatabasePlugin. Though maybe
VarENCODE might be relevant - in combination with a div :/
--
SvenDowideit - 18 Aug 2007