Ignore tainted apps for the landing page
authorAlexander Ebert <ebert@woltlab.com>
Sun, 24 May 2020 19:26:59 +0000 (21:26 +0200)
committerAlexander Ebert <ebert@woltlab.com>
Sun, 24 May 2020 19:26:59 +0000 (21:26 +0200)
See #3332

wcfsetup/install/files/lib/system/cache/builder/RoutingCacheBuilder.class.php

index 50453f7fc5feb80f38500b03ed8b1a17aa7c03db..5337009df6a79064fa958b3593b5953956c4b089 100644 (file)
@@ -238,6 +238,8 @@ class RoutingCacheBuilder extends AbstractCacheBuilder {
                }
                
                foreach (ApplicationHandler::getInstance()->getApplications() as $application) {
+                       if ($application->isTainted) continue;
+                       
                        $controller = null;
                        
                        if ($application->packageID == 1) {