From 99bff705db171ac2a9a9808327d4215a000527a4 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Tim=20D=C3=BCsterhus?= Date: Tue, 12 Apr 2016 21:00:51 +0200 Subject: [PATCH] Fix RouteHandler::getPath() when every component is removed --- .../install/files/lib/system/request/RouteHandler.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wcfsetup/install/files/lib/system/request/RouteHandler.class.php b/wcfsetup/install/files/lib/system/request/RouteHandler.class.php index 3dff96d1a5..eef7151216 100644 --- a/wcfsetup/install/files/lib/system/request/RouteHandler.class.php +++ b/wcfsetup/install/files/lib/system/request/RouteHandler.class.php @@ -280,7 +280,7 @@ class RouteHandler extends SingletonFactory { } } - return '/' . implode('/', $path) . '/'; + return FileUtil::addTrailingSlash('/' . implode('/', $path)); } return self::$path; -- 2.20.1