Differences between revisions 2 and 3
Revision 2 as of 2008-03-06 21:58:21
Size: 370
Editor: JunHu
Comment:
Revision 3 as of 2008-03-06 21:58:43
Size: 371
Editor: JunHu
Comment:
Deletions are marked like this. Additions are marked like this.
Line 5: Line 5:
$this->xssAuto = 0 $this->xssAuto = 0;

Editor cleans HTML tags/attributes in 1.70

It then has problem with embedding Flash and YouTube movies. Solution: in limesurvey/classes/inputfilter/class.inputfilter_clean.php, function inputFilter, change the line

$this->xssAuto = $xssAuto;

to

$this->xssAuto = 0;

to disable the blacklist of the "known" "dangerous" tags and attributes.

JunHu: JunHu/Memo/LimeSurvey (last edited 2008-10-03 20:20:19 by localhost)