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

Slashes not stripped on SCORM tree list

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • 1.9.3
    • 1.8.3
    • SCORM
    • None
    • ALL
    • MySQL
    • MOODLE_18_STABLE
    • 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

        1. lo.zip
          12 kB
        2. SCORM-TREE.jpg
          SCORM-TREE.jpg
          33 kB

            danmarsden Dan Marsden
            marco.loche Marco Loche
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.