Commit 61b5c39f authored by Andreas Jung's avatar Andreas Jung

- Collector #2291: fixed cookie path in Zope Version Control

parent b09775f3
......@@ -84,7 +84,7 @@
##############################################################################
"""Version object"""
__version__='$Revision: 1.49 $'[11:-2]
__version__='$Revision: 1.50 $'[11:-2]
import Globals, time
from AccessControl.Role import RoleManager
......@@ -190,7 +190,7 @@ class Version(Persistent,Implicit,RoleManager,Item):
RESPONSE.setCookie(
Globals.VersionNameName,'No longer active',
expires="Mon, 25-Jan-1999 23:59:59 GMT",
path=REQUEST['SCRIPT_NAME'],
path=(REQUEST['BASEPATH1'] or '/'),
)
if (REQUEST.has_key('SERVER_SOFTWARE') and
REQUEST['SERVER_SOFTWARE'][:9]=='Microsoft'):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment