Focal Point
[SOLVED] strict MIME type checking is enabled

This topic can be found at:
https://forums.informationbuilders.com/eve/forums/a/tpc/f/7971057331/m/2567049096

November 27, 2018, 02:15 PM
Krish V
[SOLVED] strict MIME type checking is enabled
Hi,

Refused to execute script from 'https://url/WFServlet.ibfs?IBFS1_action=RUNFEX&IBFS_path=/main/Repo/reports/common_javascript.js' because its MIME type ('application/js') is not executable, and strict MIME type checking is enabled.

I was getting this error when i link an external JS file to HTML file.

If I unlink the file and copy contents to Embedded Js it was working fine with no errors.

Do someone know what's causing this issue ?



Thanks

This message has been edited. Last edited by: FP Mod Chuck,
November 27, 2018, 02:20 PM
BabakNYC
If you have Admin rights, go to Admin Console and check the Redirection Settings for .js extensions. It should say application/javascript.


WebFOCUS 8206, Unix, Windows
November 28, 2018, 12:05 PM
Krish V
@babakNYC

That worked. Thank you