|
|
|
File Attachments:
|
1.
lo.zip (12 kB)
|
|
Image Attachments:
|
|
|
Environment:
|
ALL
|
|
| Database: |
MySQL
|
| Participants: |
Dan Marsden, Marco Loche and Roberto Pinna
|
| Security Level: |
None
|
| Resolved date: |
15/Aug/08
|
| Affected Branches: |
MOODLE_18_STABLE
|
| Fixed Branches: |
MOODLE_19_STABLE
|
If SCO title contains special characters (', ", ...) slashes are not stripped.
see SCORM-TREE.jpg
I popose a solution adding the following line
$sco->title = stripslashes($sco->title);
on
mod/scorm/datamodels/scorm_13lib.php line 66
and
mod/scorm/datamodels/scorm_12lib.php line 216
|
|
Description
|
If SCO title contains special characters (', ", ...) slashes are not stripped.
see SCORM-TREE.jpg
I popose a solution adding the following line
$sco->title = stripslashes($sco->title);
on
mod/scorm/datamodels/scorm_13lib.php line 66
and
mod/scorm/datamodels/scorm_12lib.php line 216
|
Show » |
|
can you attach a test package.
Grazie,
Roberto