Jun 20 2008
Moodle 1.9: Feedback Slasher Bug
Yep, another problem with stripslashes, this while editing questions in the Feedback module for Moodle 1.9
To recreate the problem:
1. Create a Feedback.
2. Add a question with a quote or apostrophe in it.
3. Save the question.
4. Edit the question. The backslash should appear.
5. Save the question. The backslash is saved to the database.
They made some changes to it to separate out the HTML from the PHP code, and in doing so removed the stripslashes_safe function that was keeping the database escape slashes out of the questions.
Tracker report and patch here:
Create a free edublog to get your own comment avatar (and more!)
My patch was accepted and should be in Moodle 1.9.1+.
http://tracker.moodle.org/browse/MDL-15331