When uploading a Javascript file as asset, the mime type is text/html Same for when updating an existing one.
Maybe an old regression, prob. related to Tika which is also in 7.9 (CMS7-5273 and CMS7-8737)
CMS-9492 [Backport 10.0.x] Mime type incorrect for Javascript files as asset
CMS-9547 [Backport 7.9.x] Mime type incorrect for Javascript files as asset
CMS-9511 Replace tika.detect in WebFileBundleImpl because issues with mimetype detection
Error rendering 'com.topshelfsolution.simplewiki:related-pages-webpanel'. Please contact your Jira administrators.