[Yanel-commits] rev 50382 - public/yanel/trunk/src/webapp/src/java/org/wyona/yanel/servlet

michi at wyona.com michi at wyona.com
Sun Jun 13 20:33:36 CEST 2010


Author: michi
Date: 2010-06-13 20:33:36 +0200 (Sun, 13 Jun 2010)
New Revision: 50382

Modified:
   public/yanel/trunk/src/webapp/src/java/org/wyona/yanel/servlet/YanelGlobalResourceTypeMatcher.java
Log:
mime type fixed

Modified: public/yanel/trunk/src/webapp/src/java/org/wyona/yanel/servlet/YanelGlobalResourceTypeMatcher.java
===================================================================
--- public/yanel/trunk/src/webapp/src/java/org/wyona/yanel/servlet/YanelGlobalResourceTypeMatcher.java	2010-06-13 18:32:29 UTC (rev 50381)
+++ public/yanel/trunk/src/webapp/src/java/org/wyona/yanel/servlet/YanelGlobalResourceTypeMatcher.java	2010-06-13 18:33:36 UTC (rev 50382)
@@ -61,6 +61,7 @@
             final String userName = path.substring(usersPathPrefix.length(), path.length() - ".html".length());
             properties.put("user", userName);
             properties.put("xslt", "rthtdocs:/yanel-user-profile.xsl");
+            properties.put("mime-type", "text/html"); // INFO: Because of IE we use text/html instead application/xhtml+xml
             return new ResourceConfiguration("yanel-user", "http://www.wyona.org/yanel/resource/1.0", properties);
         } else if (globalRCfilename != null) {
             return getGlobalResourceConfiguration(globalRCfilename, realm, globalRCsBasePath);



More information about the Yanel-commits mailing list