Moodle
  1. Moodle
  2. MDL-15854

[PATCH] Use addslashes_js on firstname and lastname

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Duplicate
    • Affects Version/s: 1.9.2
    • Fix Version/s: None
    • Component/s: SCORM
    • Labels:
      None
    • Affected Branches:
      MOODLE_19_STABLE
    • Rank:
      12626

      Description

      This is a bug that was fixed by Jonathan Newman:

      addslashes causes known issues with javascript in strings containing single quotes. Use addslashes_js instead.

      Also in scorm 1.2 lib, we only need to call addslashes once on the string.

        Issue Links

          Activity

          Hide
          Dan Marsden added a comment -

          thanks Francois - this is a duplicate - see MDL-8193

          Dan

          Show
          Dan Marsden added a comment - thanks Francois - this is a duplicate - see MDL-8193 Dan

            People

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

              Dates

              • Created:
                Updated:
                Resolved: