[CMF-checkins] CVS: Products/CMFCore - CookieCrumbler.py:1.8
Tres Seaver
tseaver@zope.com
Fri, 17 Aug 2001 10:59:14 -0400
Update of /cvs-repository/Products/CMFCore
In directory cvs.zope.org:/tmp/cvs-serv16237/CMFCore
Modified Files:
CookieCrumbler.py
Log Message:
- Check for 'WEBDAV_SOURCE_PORT' environment variable (supplied by
Zope 2.4.1+), and bail on intercepting authentication if found.
=== Products/CMFCore/CookieCrumbler.py 1.7 => 1.8 ===
return ATTEMPT_DISABLED
+ if req.environ.has_key( 'WEBDAV_SOURCE_PORT' ):
+ return ATTEMPT_DISABLED
+
if not req._auth:
if (req.has_key(self.pw_cookie) and
req.has_key(self.name_cookie)):