Display full path in 404 error instead of inner_path
This commit is contained in:
parent
cafeebf120
commit
9d198ff7f2
1 changed files with 1 additions and 1 deletions
|
@ -666,7 +666,7 @@ class UiRequest(object):
|
||||||
return self.actionFile(file_path, header_length=header_length, header_noscript=header_noscript, header_allow_ajax=header_allow_ajax, file_size=file_size, path_parts=path_parts)
|
return self.actionFile(file_path, header_length=header_length, header_noscript=header_noscript, header_allow_ajax=header_allow_ajax, file_size=file_size, path_parts=path_parts)
|
||||||
else:
|
else:
|
||||||
self.log.debug("File not found: %s" % path_parts["inner_path"])
|
self.log.debug("File not found: %s" % path_parts["inner_path"])
|
||||||
return self.error404(path_parts["inner_path"])
|
return self.error404(path)
|
||||||
|
|
||||||
# Serve a media for ui
|
# Serve a media for ui
|
||||||
def actionUiMedia(self, path):
|
def actionUiMedia(self, path):
|
||||||
|
|
Loading…
Reference in a new issue