[Checkins] SVN: Products.CMFDefault/trunk/Products/CMFDefault/browser/skins/ursa.py content-type setting was incorrectly transcribed from getMailGlobals which meant that content-type=' ; charset-utf-8' was set on browser views which is incorrect.

Charlie Clark charlie at begeistert.org
Sat Sep 18 10:09:41 EDT 2010


Log message for revision 116586:
  content-type setting was incorrectly transcribed from getMailGlobals which meant that content-type=' ;charset-utf-8' was set on browser views which is incorrect.

Changed:
  U   Products.CMFDefault/trunk/Products/CMFDefault/browser/skins/ursa.py

-=-
Modified: Products.CMFDefault/trunk/Products/CMFDefault/browser/skins/ursa.py
===================================================================
--- Products.CMFDefault/trunk/Products/CMFDefault/browser/skins/ursa.py	2010-09-18 13:59:18 UTC (rev 116585)
+++ Products.CMFDefault/trunk/Products/CMFDefault/browser/skins/ursa.py	2010-09-18 14:09:40 UTC (rev 116586)
@@ -32,7 +32,7 @@
             default_charset = self.ptool.getProperty('default_charset', None)
             if default_charset:
                 self.request.RESPONSE.setHeader('content-type',
-                              '%s; charset=%s' % (ct, default_charset))
+                              'text/html; charset=%s' % default_charset)
 
     @property
     @memoize



More information about the checkins mailing list