Fixed aliasing of default controllers breaking implicit recognition
authorAlexander Ebert <ebert@woltlab.com>
Fri, 14 Aug 2015 15:26:01 +0000 (17:26 +0200)
committerAlexander Ebert <ebert@woltlab.com>
Fri, 14 Aug 2015 15:26:01 +0000 (17:26 +0200)
wcfsetup/install/files/lib/system/request/RequestHandler.class.php

index ce04280255bd411030f614f8c0383b2d0f1adac8..1e00a3b2d517d48657186f541b57c0a7c59f1072 100644 (file)
@@ -306,7 +306,7 @@ class RequestHandler extends SingletonFactory {
                        
                        // use alias if defined to prevent incorrect recognition
                        $alias = $this->getAliasByController($routeData['controller']);
-                       if ($alias !== null) {
+                       if ($alias !== null && empty($routeData['isImplicitController'])) {
                                $routeData['controller'] = $alias;
                        }