Hide Forgot
Help Desk Ticket Reference: https://na7.salesforce.com/500A00000079pW6 project_key: JBEPP
Link: Added: This issue is related to GTNPORTAL-1804
Help Desk Ticket Reference: Added: https://na7.salesforce.com/500A00000079pW6
Release Notes Docs Status: Added: Documented as Known Issue Release Notes Text: Added: EPP didn't set content-type on css-files added via gatein-resources.xml. This is important, beacuse IE9 ignores these css-files due to new security policy. In the console it states: SEC7113: CSS was ignored due to mime type mismatch.
Release Notes Text: Removed: EPP didn't set content-type on css-files added via gatein-resources.xml. This is important, beacuse IE9 ignores these css-files due to new security policy. In the console it states: SEC7113: CSS was ignored due to mime type mismatch. Added: Cause: EPP doesn't set content-type on css-files added via gatein-resources.xml. Consequence: This means IE9 ignores these css-files due to new security policy. In the console it states: SEC7113: CSS was ignored due to mime type mismatch. Workaround: Add the following setContentType code to the CSS portion of the ResourceRequestFilter.java file: .... if (uri.endsWith(".css")) { final OutputStream out = response.getOutputStream(); // New code start httpResponse.setContentType("text/css; charset=UTF-8"); // New code end final BinaryOutput output = new BinaryOutput() { public Charset getCharset() { return UTF_8; } .... Result: Content-types will be set and IE9 will render the Portal as expected.
Release Notes Docs Status: Removed: Documented as Known Issue Added: Documented as Resolved Issue Release Notes Text: Removed: Cause: EPP doesn't set content-type on css-files added via gatein-resources.xml. Consequence: This means IE9 ignores these css-files due to new security policy. In the console it states: SEC7113: CSS was ignored due to mime type mismatch. Workaround: Add the following setContentType code to the CSS portion of the ResourceRequestFilter.java file: .... if (uri.endsWith(".css")) { final OutputStream out = response.getOutputStream(); // New code start httpResponse.setContentType("text/css; charset=UTF-8"); // New code end final BinaryOutput output = new BinaryOutput() { public Charset getCharset() { return UTF_8; } .... Result: Content-types will be set and IE9 will render the Portal as expected. Added: Cause: EPP doesn't set content-type on css-files added via gatein-resources.xml. Consequence: This means IE9 ignores these css-files due to new security policy. In the console it states: SEC7113: CSS was ignored due to mime type mismatch. Fix: The ResourceRequestFilter.java file has been modified to set the content type. Result: Content-types will be set and IE9 will render the Portal as expected.
Release Notes Text: Removed: Cause: EPP doesn't set content-type on css-files added via gatein-resources.xml. Consequence: This means IE9 ignores these css-files due to new security policy. In the console it states: SEC7113: CSS was ignored due to mime type mismatch. Fix: The ResourceRequestFilter.java file has been modified to set the content type. Result: Content-types will be set and IE9 will render the Portal as expected. Added: JBoss Enterprise Portal Platform doesn't set content-type on css-files added via gatein-resources.xml. This causes Internet Explorer 9 to ignore these css-files due to new security policy (a console message states: SEC7113: CSS was ignored due to mime type mismatch). The ResourceRequestFilter.java file has been modified to set the content type so that content-types will be set and Internet Explorer 9 will render the Portal as expected.