Details
-
Type:
Bug
-
Status: Closed
-
Priority:
Critical
-
Resolution: Fixed
-
Affects Version/s: 1.9.11, 2.0.2
-
Component/s: SCORM
-
Labels:
-
Testing Instructions:
-
Affected Branches:MOODLE_19_STABLE, MOODLE_20_STABLE
-
Fixed Branches:MOODLE_19_STABLE, MOODLE_20_STABLE
-
Pull from Repository:
-
Pull Master Branch:master_
MDL-27404 -
Pull Master Diff URL:
Description
the script mod/scorm/player.php outputs the API link in the following fashion (e.g.)...
<script type="text/javascript" src="api.php?id=624&scoid=1713&mode=normal&attempt=34"></script>
However, api.php generates a content-type header for mimetype text/html which is wrong. It should be application/x-javascript. It's probably rarely done but it is possible to set IE security settings to block such a link which breaks SCORM.
Looking at the code, the API wrapper doesn't really seem to be written to suit being embedded as pure javascript (e.g. require_login() and possible error messages) so I'm not sure if this is easy to fix.
Attachments
Issue Links
- caused a regression
-
MDL-31021 IE6 SCORM Centos/Red hat bug
-
- Closed
-