Fix packed file request

This commit is contained in:
shortcutme 2018-03-14 22:22:04 +01:00
parent 1189c76691
commit 660fc982ca
No known key found for this signature in database
GPG Key ID: 5B63BAE6CB9613AE
1 changed files with 1 additions and 0 deletions

View File

@ -59,6 +59,7 @@ class UiRequestPlugin(object):
if not result:
return self.error404(path)
header_allow_ajax = False
if self.get.get("ajax_key"):
requester_site = self.server.site_manager.get(path_parts["request_address"])
if self.get["ajax_key"] == requester_site.settings["ajax_key"]: