[Zope-CVS] CVS: Packages/HTTPMounter - HTTPMounter.py:1.4
Andreas Jung
andreas@digicool.com
Thu, 16 May 2002 15:25:26 -0400
Update of /cvs-repository/Packages/HTTPMounter
In directory cvs.zope.org:/tmp/cvs-serv6652
Modified Files:
HTTPMounter.py
Log Message:
getting the path information from PATH_INFO instead of PATH_TRANSLATED
since PATH_TRANSLATED returns a path containing backslashes under Windoof
=== Packages/HTTPMounter/HTTPMounter.py 1.3 => 1.4 ===
""" """
own_path = string.join(self.getPhysicalPath(), '/')
- sub_path = REQUEST['PATH_TRANSLATED'].replace(own_path,'')
+ sub_path = string.replace(REQUEST['PATH_INFO'], own_path, '')
if not sub_path: sub_path = self.default_document
url = self.url
if url[-1] != '/': url = url + '/'