Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-12161

Slashes not stripped on SCORM tree list

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.8.3
    • Fix Version/s: 1.9.3
    • Component/s: SCORM
    • Labels:
      None
    • Environment:
      ALL
    • Database:
      MySQL
    • Affected Branches:
      MOODLE_18_STABLE
    • Fixed Branches:
      MOODLE_19_STABLE

      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

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  15/Oct/08