Fórum
Web logic + chrome strict MIME type issue
krishna mohan mathakala, modificado 7 Anos atrás.
Web logic + chrome strict MIME type issue
Junior Member Postagens: 68 Data de Entrada: 08/09/12 Postagens Recentes
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.
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.
Byrån Zaugg, modificado 7 Anos atrás.
RE: Web logic + chrome strict MIME type issue
Expert Postagens: 252 Data de Entrada: 06/04/12 Postagens Recentes
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.