Fix RouteHandler::getPath() when every component is removed
authorTim Düsterhus <duesterhus@woltlab.com>
Tue, 12 Apr 2016 19:00:51 +0000 (21:00 +0200)
committerTim Düsterhus <duesterhus@woltlab.com>
Tue, 12 Apr 2016 19:01:05 +0000 (21:01 +0200)
wcfsetup/install/files/lib/system/request/RouteHandler.class.php

index 3dff96d1a5f29acf02abc071e4f5f668897fc5e9..eef7151216d405c85235c68024a66f985775ca0b 100644 (file)
@@ -280,7 +280,7 @@ class RouteHandler extends SingletonFactory {
                                }
                        }
                        
-                       return '/' . implode('/', $path) . '/';
+                       return FileUtil::addTrailingSlash('/' . implode('/', $path));
                }
                
                return self::$path;