[Zope-CVS] CVS: Products/ExternalEditor - CHANGES.txt:1.51 ExternalEditor.py:1.24

Casey Duncan casey at zope.com
Wed Jul 7 16:08:36 EDT 2004


Update of /cvs-repository/Products/ExternalEditor
In directory cvs.zope.org:/tmp/cvs-serv4900

Modified Files:
	CHANGES.txt ExternalEditor.py 
Log Message:
Add patch provided by Marc-Aurèle Darche to workaround IE error when running
over SSL.


=== Products/ExternalEditor/CHANGES.txt 1.50 => 1.51 ===
--- Products/ExternalEditor/CHANGES.txt:1.50	Wed Jul  7 16:00:11 2004
+++ Products/ExternalEditor/CHANGES.txt	Wed Jul  7 16:08:36 2004
@@ -4,6 +4,9 @@
   
     - Fix bug detecting basic auth info from older versions of CookieCrumber.
       Thanks to David D. Smith and Federico Sevilla III.
+    
+    - Workaround IE browser error when running over SSL. Thanks to 
+      Marc-Aurèle Darche.
   
     - Add ".zem" file extension support for MacOS X (especially Mac IE),
       to ease helper app integration where MIME support is lacking. Thanks


=== Products/ExternalEditor/ExternalEditor.py 1.23 => 1.24 ===
--- Products/ExternalEditor/ExternalEditor.py:1.23	Fri May 21 17:01:28 2004
+++ Products/ExternalEditor/ExternalEditor.py	Wed Jul  7 16:08:36 2004
@@ -21,6 +21,7 @@
 import urllib
 import Acquisition
 from Globals import InitializeClass
+from App.Common import rfc1123_date
 from AccessControl.SecurityManagement import getSecurityManager
 from AccessControl.SecurityInfo import ClassSecurityInfo
 from OFS import Image
@@ -107,7 +108,10 @@
               
         r.append('')
         
-        RESPONSE.setHeader('Pragma', 'no-cache')
+        # Using RESPONSE.setHeader('Pragma', 'no-cache') would be better, but
+        # this chokes crappy most MSIE versions when downloads happen on SSL.
+        # cf. http://support.microsoft.com/support/kb/articles/q316/4/31.asp
+        RESPONSE.setHeader('Last-Modified', rfc1123_date())
         
         if hasattr(Acquisition.aq_base(ob), 'data') \
            and hasattr(ob.data, '__class__') \



More information about the Zope-CVS mailing list