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

[PATCH] Use addslashes_js on firstname and lastname

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Duplicate
    • 1.9.2
    • None
    • SCORM
    • None
    • 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.

      Attachments

        Issue Links

          Activity

            People

              danmarsden Dan Marsden
              francois Francois Marier
              Dan Marsden, Matteo Scaramuccia, Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias, Sujith Haridasan
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: