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.
- is duplicated by
-
MDL-4937 HTC files included in SCORM packages won't function
-
- Closed
-