You are viewing a plain text version of this content. The canonical link for it is here.
Posted to mod_python-commits@quetz.apache.org by nl...@apache.org on 2005/04/30 09:02:24 UTC
svn commit: r165382 -
/httpd/mod_python/trunk/lib/python/mod_python/Session.py
Author: nlehuen
Date: Sat Apr 30 00:02:23 2005
New Revision: 165382
URL: http://svn.apache.org/viewcvs?rev=165382&view=rev
Log:
Fix for MODPYTHON-32.
Modified:
httpd/mod_python/trunk/lib/python/mod_python/Session.py
Modified: httpd/mod_python/trunk/lib/python/mod_python/Session.py
URL: http://svn.apache.org/viewcvs/httpd/mod_python/trunk/lib/python/mod_python/Session.py?rev=165382&r1=165381&r2=165382&view=diff
==============================================================================
--- httpd/mod_python/trunk/lib/python/mod_python/Session.py (original)
+++ httpd/mod_python/trunk/lib/python/mod_python/Session.py Sat Apr 30 00:02:23 2005
@@ -159,12 +159,6 @@
dirpath = self._req.hlist.directory
c.path = dirpath[len(docroot):]
- # XXX Not sure why, but on Win32 hlist.directory
- # may contain a trailing \ - need to investigate,
- # this value is given to us directly by httpd
- if os.name == 'nt' and c.path[-1] == '\\':
- c.path = c.path[:-1]
-
# Sometimes there is no path, e.g. when Location
# is used. When Alias or UserDir are used, then
# the path wouldn't match the URI. In those cases