-
Bug
-
Resolution: Fixed
-
Minor
-
3.0.4, 3.1
-
MOODLE_30_STABLE, MOODLE_31_STABLE
-
MOODLE_30_STABLE, MOODLE_31_STABLE
-
MDL-55057_scorm_apostrophe -
- Add the attached SCORM to a course
- Open the SCORM
- Ensure all 3 pages displayed (Home, Page 1, Page 2)
If a SCORM resource identifier contains an apostrophe (') character, then, during parsing, that character is escaped to \'.
However, the code that looks up the 'launch' URL for SCOs does not escape the identifier that it is looking up. This means that it fails to find the resource and that SCO will not appear in the SCORM player (in many cases SCORMs only include a single SCO, so the SCORM will not work at all).
This has caused a problem on a customer's site - I cannot attach the actual SCORM they are using, but I have attached an example that I have created. This example has 3 pages (Home, Page 1, Page 2), but the Home page is not displayed, because of this bug.
I will add a simple patch to fix this.