[Zope-CVS] CVS: Products/ExternalEditor - ExternalEditor.py:1.11 CHANGES.txt:1.22

Casey Duncan casey@zope.com
Sun, 7 Jul 2002 13:12:49 -0400


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

Modified Files:
	ExternalEditor.py CHANGES.txt 
Log Message:
Product now omits basic auth metadata field if REQUEST._auth is None or empty.


=== Products/ExternalEditor/ExternalEditor.py 1.10 => 1.11 ===
             else:
                 r.append('content_type:%s' % ob.content_type)
+                
+        if REQUEST._auth:
+            if REQUEST._auth[-1] == '\n':
+                auth = REQUEST._auth[:-1]
+            else:
+                auth = REQUEST._auth
+                
+            r.append('auth:%s' % auth)
             
-        if REQUEST._auth[-1] == '\n':
-            auth = REQUEST._auth[:-1]
-        else:
-            auth = REQUEST._auth
-           
-        r.append('auth:%s' % auth)
         r.append('cookie:%s' % REQUEST.environ.get('HTTP_COOKIE',''))            
         r.append('')
         


=== Products/ExternalEditor/CHANGES.txt 1.21 => 1.22 ===
 
+    - Fixed auth bug when product was used with mysqlUserFolder. Thanks to
+      ViNiL.
+
   6/30/02 - 0.4.2 Release (affects win32 binary only)
 
     - Added SSL support to Windows binary package. Thanks to Federico