Update of /cvsroot/webware/Webware/WebKit
In directory usw-pr-cvs1:/tmp/cvs-serv24350/WebKit
Modified Files:
HTTPRequest.py
Log Message:
Checking in Fabio Forno's fix to HTTPRequest.urlPathDir()
Index: HTTPRequest.py
===================================================================
RCS file: /cvsroot/webware/Webware/WebKit/HTTPRequest.py,v
retrieving revision 1.38
retrieving revision 1.39
diff -C2 -d -r1.38 -r1.39
*** HTTPRequest.py 18 Apr 2002 20:47:53 -0000 1.38
--- HTTPRequest.py 22 Apr 2002 15:12:01 -0000 1.39
***************
*** 282,286 ****
path = self.urlPath()
if not path[:-1] == "/":
! path = path[:string.rfind("/", path)+1]
return path
--- 282,286 ----
path = self.urlPath()
if not path[:-1] == "/":
! path = path[:string.rfind(path, "/")+1]
return path
|