<a href="file.xml"> in /index.xml

was transformed into
<a href="/index.xml/file2.xml">
This patch gets rid of the extra "/index.xml"
This commit is contained in:
sebd 2004-06-24 21:22:35 +00:00
parent 563c81fbf3
commit fb2d66d69f
1 changed files with 1 additions and 1 deletions

View File

@ -165,7 +165,7 @@ class AbstractStation(object):
if absolutePath[-1] == "/":
return "%s%s" % (absolutePath, location)
else:
return "%s/%s" % (absolutePath, location)
return "%s/%s" % ("/".join(absolutePath.split("/")[0:-1]), location)
def constructUriInternPath(self, location):
# Assume that location is a relative URI without "file://" prefix.