[Zope-Checkins] CVS: Zope3/lib/python/Zope/Server/medusa - filesys.py:1.9.72.2
Martijn Pieters
mj@zope.com
Wed, 13 Feb 2002 00:09:44 -0500
Update of /cvs-repository/Zope3/lib/python/Zope/Server/medusa
In directory cvs.zope.org:/tmp/cvs-serv17157
Modified Files:
Tag: Zope-3x-branch
filesys.py
Log Message:
'nother one to revert.
=== Zope3/lib/python/Zope/Server/medusa/filesys.py 1.9.72.1 => 1.9.72.2 ===
p = self.path_module.normpath (path)
# remove 'dangling' cdup's.
- if len(p) > 2 and p.startswith('/..'):
+ if len(p) > 2 and pi[:3] == '/..':
p = '/'
return p