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

You should use addslashes_js, not addslashes, when outputting JS code

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.9.4
    • Fix Version/s: None
    • Component/s: SCORM
    • Labels:
      None
    • Affected Branches:
      MOODLE_19_STABLE

      Description

      Dan Marsden asked me to file the bug, and assign it to you

        Gliffy Diagrams

          Attachments

            Activity

            Hide
            danmarsden Dan Marsden added a comment -

            hehe - thanks Tim!

            Show
            danmarsden Dan Marsden added a comment - hehe - thanks Tim!
            Hide
            piers Piers Harding added a comment -

            switched to using addslashes_js everywhere

            Show
            piers Piers Harding added a comment - switched to using addslashes_js everywhere

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: