[Zope-Checkins] CVS: Releases/Zope/lib/python/Products/SiteAccess - VirtualHostMonster.py:1.5.12.4
Evan Simpson
evan@zope.com
Mon, 25 Feb 2002 10:47:50 -0500
Update of /cvs-repository/Releases/Zope/lib/python/Products/SiteAccess
In directory cvs.zope.org:/tmp/cvs-serv24977/Products/SiteAccess
Modified Files:
Tag: Zope-2_5-branch
VirtualHostMonster.py
Log Message:
Fix vhm bug.
=== Releases/Zope/lib/python/Products/SiteAccess/VirtualHostMonster.py 1.5.12.3 => 1.5.12.4 ===
# and process it right away.
if at_end:
- pp = filter(None, pp)
request.setVirtualRoot(pp)
del stack[-2:]
break
@@ -203,7 +202,7 @@
parents.pop() # I don't belong there
if len(name) > 1:
- request.setVirtualRoot(split(name[1:], '/'))
+ request.setVirtualRoot(name)
else:
request.setVirtualRoot([])
return parents.pop() # He'll get put back on