From 33d623505e2d1c21b38da2e125f8bb6ddae275cc Mon Sep 17 00:00:00 2001 From: joshuaruesweg Date: Thu, 20 Feb 2020 12:33:19 +0100 Subject: [PATCH] Fixes a problem with unrecognized controllers with AJAX* prefix --- .../install/files/lib/system/request/ControllerMap.class.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/wcfsetup/install/files/lib/system/request/ControllerMap.class.php b/wcfsetup/install/files/lib/system/request/ControllerMap.class.php index 71a72f68c5..241c179e79 100644 --- a/wcfsetup/install/files/lib/system/request/ControllerMap.class.php +++ b/wcfsetup/install/files/lib/system/request/ControllerMap.class.php @@ -83,6 +83,8 @@ class ControllerMap extends SingletonFactory { if ($controller === 'AjaxProxy') $controller = 'AJAXProxy'; else if ($controller === 'AjaxUpload') $controller = 'AJAXUpload'; else if ($controller === 'AjaxInvoke') $controller = 'AJAXInvoke'; + else if ($controller === 'AjaxFileUpload') $controller = 'AJAXFileUpload'; + else if ($controller === 'AjaxFileDelete') $controller = 'AJAXFileDelete'; // work-around for package installation during the upgrade 2.1 -> 3.0 if ($isAcpRequest && $controller === 'InstallPackage') $application = 'wcf'; -- 2.20.1