]> git.mjollnir.org Git - moodle.git/commit
Allow <IMG> tags in Moodle format text. Not having it can really mess
authormoodler <moodler>
Fri, 18 Oct 2002 06:05:56 +0000 (06:05 +0000)
committermoodler <moodler>
Fri, 18 Oct 2002 06:05:56 +0000 (06:05 +0000)
commit08beb3327b318935583effa50bcdff097961b473
tree1924f58b08343057517a916033cd2a3938ed9445
parente757af1662ff6ef8240834eb11cd8ddbc4d4c0e1
Allow <IMG> tags in Moodle format text.  Not having it can really mess
up smileys etc if the text has been edited at any stage using the
richtext editor.

I realise it's possible for students to really mess up forums display
etc if they wanted to include a huge picture ... I'm not sure if there
are any cross-site scripting attacks possible with images in there.

But there is also now the HTML format for most things, which is editable
using an ordinary form, so this problem is currently already exposed.

I think it's OK as long as can find a filter to strip all javascript
out of ANY format text in Moodle.
lib/languages.php
lib/moodlelib.php
lib/weblib.php