[Zope-CVS] CVS: Products/ExternalEditor - CHANGES.txt:1.50 zopeedit.py:1.48

Casey Duncan casey at zope.com
Wed Jul 7 16:00:12 EDT 2004


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

Modified Files:
	CHANGES.txt zopeedit.py 
Log Message:
Fix bug recognizing basic auth info passed from older versions of CookieCrumbler


=== Products/ExternalEditor/CHANGES.txt 1.49 => 1.50 ===
--- Products/ExternalEditor/CHANGES.txt:1.49	Fri May 21 17:01:28 2004
+++ Products/ExternalEditor/CHANGES.txt	Wed Jul  7 16:00:11 2004
@@ -2,6 +2,9 @@
 
   Next release
   
+    - Fix bug detecting basic auth info from older versions of CookieCrumber.
+      Thanks to David D. Smith and Federico Sevilla III.
+  
     - Add ".zem" file extension support for MacOS X (especially Mac IE),
       to ease helper app integration where MIME support is lacking. Thanks
       to Zac Bir.


=== Products/ExternalEditor/zopeedit.py 1.47 => 1.48 ===
--- Products/ExternalEditor/zopeedit.py:1.47	Mon May  3 15:23:32 2004
+++ Products/ExternalEditor/zopeedit.py	Wed Jul  7 16:00:11 2004
@@ -497,7 +497,7 @@
 
             h.putheader("Content-Length", str(len(body)))
 
-            if self.metadata.get('auth','').startswith('Basic'):
+            if self.metadata.get('auth','').lower().startswith('basic'):
                 h.putheader("Authorization", self.metadata['auth'])
 
             if self.metadata.get('cookie'):



More information about the Zope-CVS mailing list