catalyst / moodle-mod_scormremote

A Moodle activity for serving SCORM packages remotely to another LMS across domains
https://moodle.org/plugins/mod_scormremote
Other
9 stars 3 forks source link

Incorrect MIME type for error page #58

Closed bwalkerl closed 7 months ago

bwalkerl commented 7 months ago

The third layer loads Javascript from jssource, which is liked as a .js file. When attempting to load this file errors end up loading init.mustache instead, which is returning the MIME type (“text/html”).

This can potentially cause the error page to not load based on how the browser handles this. A few examples: