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

[PATCH] Use addslashes_js on firstname and lastname

    Details

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

      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.

        Gliffy Diagrams

          Issue Links

            Activity

            Hide
            danmarsden Dan Marsden added a comment -

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

            Dan

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