Fixed stacking of slashes if WCF is in document root
authorAlexander Ebert <ebert@woltlab.com>
Mon, 10 Jun 2013 21:48:01 +0000 (23:48 +0200)
committerAlexander Ebert <ebert@woltlab.com>
Mon, 10 Jun 2013 21:48:01 +0000 (23:48 +0200)
wcfsetup/install/files/lib/system/request/LinkHandler.class.php

index e1a1c5dcaec4ac2580146b0c1d11703f85ab75cc..24b0b5235935910cd179ccc04ec7b8e07e312599 100644 (file)
@@ -145,7 +145,7 @@ class LinkHandler extends SingletonFactory {
                }
                else {
                        if (RequestHandler::getInstance()->inRescueMode()) {
-                               $pageURL = RouteHandler::getHost() . RouteHandler::getPath(array('acp'));
+                               $pageURL = RouteHandler::getHost() . str_replace('//', '/', RouteHandler::getPath(array('acp')));
                        }
                        else {
                                // try to resolve abbreviation