From: Alexander Ebert Date: Mon, 10 Jun 2013 21:48:01 +0000 (+0200) Subject: Fixed stacking of slashes if WCF is in document root X-Git-Tag: 2.0.0_Beta_4~77^2~1 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=019ba543d9719a99b140c97d55322a8e7ef4bf85;p=GitHub%2FWoltLab%2FWCF.git Fixed stacking of slashes if WCF is in document root --- diff --git a/wcfsetup/install/files/lib/system/request/LinkHandler.class.php b/wcfsetup/install/files/lib/system/request/LinkHandler.class.php index e1a1c5dcae..24b0b52359 100644 --- a/wcfsetup/install/files/lib/system/request/LinkHandler.class.php +++ b/wcfsetup/install/files/lib/system/request/LinkHandler.class.php @@ -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