Also serve htm files with wrapper
This commit is contained in:
parent
6984575901
commit
4d991cda6d
1 changed files with 1 additions and 1 deletions
|
@ -267,7 +267,7 @@ class UiRequest(object):
|
||||||
if match:
|
if match:
|
||||||
address = match.group("address")
|
address = match.group("address")
|
||||||
inner_path = match.group("inner_path").lstrip("/")
|
inner_path = match.group("inner_path").lstrip("/")
|
||||||
if "." in inner_path and not inner_path.endswith(".html"):
|
if "." in inner_path and not inner_path.endswith(".html") and not inner_path.endswith(".htm"):
|
||||||
return self.actionSiteMedia("/media" + path) # Only serve html files with frame
|
return self.actionSiteMedia("/media" + path) # Only serve html files with frame
|
||||||
if self.isAjaxRequest():
|
if self.isAjaxRequest():
|
||||||
return self.error403("Ajax request not allowed to load wrapper") # No ajax allowed on wrapper
|
return self.error403("Ajax request not allowed to load wrapper") # No ajax allowed on wrapper
|
||||||
|
|
Loading…
Reference in a new issue