lib/http.py
changeset 14 b88d23696b98
parent 10 d83b10c210e3
child 25 8f143b1ce0d1
--- a/lib/http.py	Sat Feb 07 02:19:35 2009 +0200
+++ b/lib/http.py	Sat Feb 07 02:21:12 2009 +0200
@@ -39,7 +39,7 @@
             /foo/bar.cgi    -> /foo
         """
 
-        return os.path.dirname(self.env['SCRIPT_NAME'])
+        return os.path.dirname(self.env['SCRIPT_NAME']).rstrip('/')
     
     def get_page_prefix (self) :
         """