Forums de discussion
Web logic + chrome strict MIME type issue
krishna mohan mathakala, modifié il y a 7 années.
Web logic + chrome strict MIME type issue
Junior Member Publications: 68 Date d'inscription: 08/09/12 Publications récentes
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, modifié il y a 7 années.
RE: Web logic + chrome strict MIME type issue
Expert Publications: 252 Date d'inscription: 06/04/12 Publications récentes
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.