-
Bug
-
Resolution: Duplicate
-
Minor
-
None
-
2.0
-
None
-
MOODLE_20_STABLE
We are not using magic quotes now, that means no addslashes or stripslashes.
I have found two instances of stipslashes() in scorm code, but I am not able to decipher what they are supposed to do. It can be:
1/ undoing of magic quotes - then we can simply delete it
2/ unding of addslashes_js() which is supposed to undo string quoting in JS encoded text, unfortunately we have only addslashes_js()
Please note that the stripslashes() may do either C-style \' stripping, or sql standard '' stripping, but we do not know in moodle, that is why I added the addslashes_js()