[CMF-checkins] CVS: CMF/CMFCore - CookieCrumbler.py:1.23
Casey Duncan
cvs-admin at zope.org
Thu Dec 4 17:16:38 EST 2003
Update of /cvs-repository/CMF/CMFCore
In directory cvs.zope.org:/tmp/cvs-serv13657/CMFCore
Modified Files:
CookieCrumbler.py
Log Message:
Port from 1.4 branch: Allow cookie auth tokens to work for DAV requests over the main HTTP port.
=== CMF/CMFCore/CookieCrumbler.py 1.22 => 1.23 ===
--- CMF/CMFCore/CookieCrumbler.py:1.22 Mon Sep 1 11:18:34 2003
+++ CMF/CMFCore/CookieCrumbler.py Thu Dec 4 17:16:37 2003
@@ -128,7 +128,8 @@
CookieCrumblerDisabled.
"""
if (req.__class__ is not HTTPRequest
- or not req['REQUEST_METHOD'] in ('HEAD', 'GET', 'PUT', 'POST')
+ or (not req['REQUEST_METHOD'] in ('HEAD', 'GET', 'PUT', 'POST')
+ and not req.has_key(self.auth_cookie))
or req.environ.has_key('WEBDAV_SOURCE_PORT')):
raise CookieCrumblerDisabled
More information about the CMF-checkins
mailing list