MDL-46148 qtype_calculated: low-level defence against bad formulas
authorAnkit Agarwal <ankit@moodle.com>
Thu, 10 Jul 2014 09:44:59 +0000 (17:44 +0800)
committerDamyon Wiese <damyon@moodle.com>
Thu, 10 Jul 2014 09:55:11 +0000 (17:55 +0800)
commit82b3260eab2db58dfa9510645fd2c60ee0ce142e
treeaaaacf8fec31cb7d48a613b6b897e04e115420f5
parentf2946a5419a94f19cb3490a249fe0bb50161f254
MDL-46148 qtype_calculated: low-level defence against bad formulas

This catches things like:
 * Malicious equations coming from backup files.
 * Malicious equations in old questions in the database.
question/type/calculated/question.php