Foros de discusión

Web logic + chrome strict MIME type issue

thumbnail
krishna mohan mathakala, modificado hace 7 años.

Web logic + chrome strict MIME type issue

Junior Member Mensajes: 68 Fecha de incorporación: 8/09/12 Mensajes recientes
We may get below error while running the liferay on web logic.
Refused to execute script from 'URL(www.xyz.com)' because its MIME type ('') is not executable, and strict MIME type checking is enabled.

create a file with name "mimemappings.properties" in the following location

/Users/machine name/Oracle/Middleware/user_projects/domains/domain name/config

Restart server.
thumbnail
Byrån Zaugg, modificado hace 7 años.

RE: Web logic + chrome strict MIME type issue

Expert Mensajes: 252 Fecha de incorporación: 6/04/12 Mensajes recientes
If you are trying to deliver a JavaScript file to the browser, it must have the correct MIME type set (server level), or the browser sees it as a security vulnerability.