<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:
parent
563c81fbf3
commit
fb2d66d69f
|
@ -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.
|
||||
|
|
Reference in New Issue