|
|
| Participants: |
Dan Poltawski, Gordon Bateson and Matt Bockol
|
| Security Level: |
None
|
| Resolved date: |
28/Jan/08
|
| Affected Branches: |
MOODLE_18_STABLE
|
| Fixed Branches: |
MOODLE_16_STABLE, MOODLE_17_STABLE, MOODLE_18_STABLE
|
|
HotPot activities with quotes in their names have the name truncated when you go to update them. These quotes are passed intact when populating the text box, truncating the value.
The attached patch applies the htmlspecialchars to $form->name in moodle/mod/hotpot/mod.html , converting the double quotes into html entities, correcting the problem.
|
|
Description
|
HotPot activities with quotes in their names have the name truncated when you go to update them. These quotes are passed intact when populating the text box, truncating the value.
The attached patch applies the htmlspecialchars to $form->name in moodle/mod/hotpot/mod.html , converting the double quotes into html entities, correcting the problem.
|
Show » |
|
I have added the patch to Moodle 1.6, 1.7 and 1.8.
Moodle 1.9 and later do not use mod.html, so this is not an issue for those versions.
I confirmed I was able to add a HotPot activity with a quote in the name in all versions of Moodle 1.6 -> 2.0
If you have time, please confirm that the patched files in Moodle 1.6 -> 1.8 work for you.
many thanks
Gordon