Skip to content
This repository has been archived by the owner on Sep 28, 2020. It is now read-only.

Commit

Permalink
- Collector #2291: fixed cookie path in Zope Version Control
Browse files Browse the repository at this point in the history
  • Loading branch information
zopyx committed Jun 8, 2001
1 parent f81b2d7 commit bdf1054
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Version.py
Expand Up @@ -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
Expand Down Expand Up @@ -190,7 +190,7 @@ def leave(self, REQUEST, RESPONSE):
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'):
Expand Down

0 comments on commit bdf1054

Please sign in to comment.