Alt-N Discussion Groups
Discussions
Errors caused by header 'X-Content-Type-Options: nosniff'
Harris Sarandis
Newbie
Posts: 3

Newbie
Posts: 3
Harris Sarandis - 05:05am, Mar 19 2021
Running MDeamon via IIS.
Adding the 'X-Content-Type-Options: nosniff' response header, errors (see below) are thrown in Chrome's console when openning the Worldclient's Compose or Email Templates pages - and the CKEditor box does not appear.
From what I get, the cke configuration is not returned (blocked) to the 'ReturnConfig' request, and so cke looks for the (default?) 'flat' skin in the wrong folder.
Copying the folder 'flat' from ckeditor4/skins to ckeditor/skins will cause the edit box to appear, but with the default config (as the config settings have not been loaded).
Errors:
Refused to execute script from '/WorldClient.dll?Session=xxxxxx&View=Compose&ReturnConfig=1&t=J0BE' because its MIME type ('text/html') is not executable, and strict MIME type checking is enabled.
Refused to apply style from '/ckeditor/skins/flat/editor.css?t=J0BE' because its MIME type ('text/html') is not a supported stylesheet MIME type, and strict MIME checking is enabled.
|
|
|