Rev2067, Fix inner_path stripping
This commit is contained in:
parent
f4f4aa0e50
commit
d467aabd4c
3 changed files with 4 additions and 3 deletions
|
@ -248,10 +248,11 @@ class UiRequest(object):
|
|||
|
||||
address = re.sub("/.*", "", path.lstrip("/"))
|
||||
if self.isProxyRequest() and (not path or "/" in path[1:]):
|
||||
file_url = re.sub("^.*?/", "", inner_path)
|
||||
if self.env["HTTP_HOST"] == "zero":
|
||||
root_url = "/" + address + "/"
|
||||
file_url = "/" + address + "/" + inner_path
|
||||
else:
|
||||
file_url = "/" + inner_path
|
||||
root_url = "/"
|
||||
|
||||
else:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue