From: Alexander Ebert Date: Sun, 24 May 2020 19:26:59 +0000 (+0200) Subject: Ignore tainted apps for the landing page X-Git-Tag: 3.1.15~24 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=7e94d9438b1c01577224231298d7d1f9bf38b690;p=GitHub%2FWoltLab%2FWCF.git Ignore tainted apps for the landing page See #3332 --- diff --git a/wcfsetup/install/files/lib/system/cache/builder/RoutingCacheBuilder.class.php b/wcfsetup/install/files/lib/system/cache/builder/RoutingCacheBuilder.class.php index 50453f7fc5..5337009df6 100644 --- a/wcfsetup/install/files/lib/system/cache/builder/RoutingCacheBuilder.class.php +++ b/wcfsetup/install/files/lib/system/cache/builder/RoutingCacheBuilder.class.php @@ -238,6 +238,8 @@ class RoutingCacheBuilder extends AbstractCacheBuilder { } foreach (ApplicationHandler::getInstance()->getApplications() as $application) { + if ($application->isTainted) continue; + $controller = null; if ($application->packageID == 1) {