[Zope-Checkins] CVS: Zope/lib/python/Products/Sessions - BrowserIdManager.py:1.7
Chris McDonough
chrism@zope.com
Mon, 26 Nov 2001 22:44:51 -0500
Update of /cvs-repository/Zope/lib/python/Products/Sessions
In directory cvs.zope.org:/tmp/cvs-serv8709
Modified Files:
BrowserIdManager.py
Log Message:
Incorporated Frank Tegtmeyers long-ago patch for encoding browser ids that already have query elements in encodeUrl properly by using & instead of just &.
=== Zope/lib/python/Products/Sessions/BrowserIdManager.py 1.6 => 1.7 ===
name = self.getBrowserIdName()
if '?' in url:
- return '%s&%s=%s' % (url, name, bid)
+ return '%s&%s=%s' % (url, name, bid)
else:
return '%s?%s=%s' % (url, name, bid)