Domino web app running on 10.0.1 without a problem. Upgraded to FP4 and the app fails with "Refused to apply style from '<URL> .css' because its MIME type ('text/html') is not a supported stylesheet MIME type, and strict MIME checking is enabled. Also: "Refused to execute script from '<URL> .js' because its MIME type ('text/html') is not executable, and strict MIME type checking is enabled.
Then upgraded to Domino FP6 with no change, web app still fails with the above 2 errors displayed in debug. Is this a security fix/enhancement in the fixpacks? I have searched the FP's and cannot find anything specific related to MIME and web.
Hi Kevin,
This is a known issue. The classic web applications may no longer work because of the X-Content-Type-Options: nosniff http header that is always included in an http response for Domino NSF application urls for increased security. If the following notes.ini is specified then the http header will not be included by default in the http response.
HTTP_DISABLE_X_CONTENT_TYPE_OPTIONS_NOSNIFF=1
So, try adding the above ini parameter in server's notes.ini, then restart the server and then test the application.
Please check below article as well if above ini does not work and try to add below notes.ini. Before adding below ini remove above one.
https://support.hcl-software.com/csm?id=kb_article&sysparm_article=KB0077199
HTTPAdditionalRespHeader01=X-Content-Type-Options: sniff
You need to restart the server after adding this parameter.
I hope this helps.