Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 1.5, 1.5.1, 1.5.2, 1.5.3, 1.5.4, 1.6, 1.6.1, 1.6.2, 1.6.3, 1.6.4, 1.7, 1.7.1, 1.7.2, 1.8, 2.0
-
Labels:None
-
Affected Branches:MOODLE_15_STABLE, MOODLE_16_STABLE, MOODLE_17_STABLE, MOODLE_18_STABLE, MOODLE_20_STABLE
-
Fixed Branches:MOODLE_17_STABLE, MOODLE_18_STABLE
Description
HTC files in packages return the wrong content-type (document/unknown) even when the Apache web-server is set to serve the correct content-type, this means that packages that rely on the very popular HTC files for scripting will not run the script and will most likely fail to work.
I believe this is because of the way Moodle serves these files (they're proxied through a PHP). I believe the only change needed is to add .htc to filelib.php with the content-type of application/x-component.
Issue Links
| This issue is duplicated by: | ||||
| MDL-4937 | HTC files included in SCORM packages won't function |
|
|
|
Activity
- All
- Comments
- History
- Activity
- Source
- Test Sessions
I have added type text/x-component as recommended in http://support.microsoft.com/kb/306231
fixed in cvs, thanks for the report!