[Checkins] SVN: Products.CMFDefault/branches/2.2/Products/CMFDefault/browser/ursa.py Backported correction of mime-type setting from 2.3

Charlie Clark charlie at begeistert.org
Fri Oct 22 11:15:33 EDT 2010


Log message for revision 117822:
  Backported correction of mime-type setting from 2.3

Changed:
  U   Products.CMFDefault/branches/2.2/Products/CMFDefault/browser/ursa.py

-=-
Modified: Products.CMFDefault/branches/2.2/Products/CMFDefault/browser/ursa.py
===================================================================
--- Products.CMFDefault/branches/2.2/Products/CMFDefault/browser/ursa.py	2010-10-22 15:13:13 UTC (rev 117821)
+++ Products.CMFDefault/branches/2.2/Products/CMFDefault/browser/ursa.py	2010-10-22 15:15:33 UTC (rev 117822)
@@ -17,7 +17,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