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

mod/scorm is using stripslashes()

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Minor Minor
    • None
    • 2.0
    • SCORM
    • None
    • MOODLE_20_STABLE

      We are not using magic quotes now, that means no addslashes or stripslashes.

      I have found two instances of stipslashes() in scorm code, but I am not able to decipher what they are supposed to do. It can be:
      1/ undoing of magic quotes - then we can simply delete it
      2/ unding of addslashes_js() which is supposed to undo string quoting in JS encoded text, unfortunately we have only addslashes_js()

      Please note that the stripslashes() may do either C-style \' stripping, or sql standard '' stripping, but we do not know in moodle, that is why I added the addslashes_js()

            danmarsden Dan Marsden
            skodak Petr Skoda
            Nobody Nobody (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.