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:
|
||||
address = match.group("address")
|
||||
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
|
||||
if self.isAjaxRequest():
|
||||
return self.error403("Ajax request not allowed to load wrapper") # No ajax allowed on wrapper
|
||||
|
|
Loading…
Reference in a new issue