Author: hfnukal
Date: 2011-04-28 07:48:18 -0400 (Thu, 28 Apr 2011)
New Revision: 6402
Modified:
epp/portal/branches/EPP_5_1_Branch/component/web/resources/src/main/java/org/exoplatform/portal/application/ResourceRequestFilter.java
Log:
JBEPP-904 No Content-Type on css files
Modified:
epp/portal/branches/EPP_5_1_Branch/component/web/resources/src/main/java/org/exoplatform/portal/application/ResourceRequestFilter.java
===================================================================
---
epp/portal/branches/EPP_5_1_Branch/component/web/resources/src/main/java/org/exoplatform/portal/application/ResourceRequestFilter.java 2011-04-28
11:31:38 UTC (rev 6401)
+++
epp/portal/branches/EPP_5_1_Branch/component/web/resources/src/main/java/org/exoplatform/portal/application/ResourceRequestFilter.java 2011-04-28
11:48:18 UTC (rev 6402)
@@ -94,7 +94,8 @@
httpResponse.setStatus(HttpServletResponse.SC_NOT_MODIFIED);
return;
}
-
+ response.setContentType("text/css; charset=UTF-8");
+
final OutputStream out = response.getOutputStream();
final BinaryOutput output = new BinaryOutput()
{