Moodle

[PATCH] Use addslashes_js on firstname and lastname

Details

  • Type: Bug Bug
  • Status: Closed 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

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

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: