From: joshuaruesweg Date: Thu, 20 Feb 2020 11:33:19 +0000 (+0100) Subject: Fixes a problem with unrecognized controllers with AJAX* prefix X-Git-Tag: 5.3.0_Alpha_1~417 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=7b06ffe9efbf2f17f7d05f30ad3df0beba3df664;p=GitHub%2FWoltLab%2FWCF.git Fixes a problem with unrecognized controllers with AJAX* prefix --- 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';