Moodle
  1. Moodle
  2. MDL-18212

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

    Details

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

      Description

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

        Activity

        Hide
        Dan Marsden added a comment -

        hehe - thanks Tim!

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

        switched to using addslashes_js everywhere

        Show
        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: