From ff9632261e93d5f309541babd5e1fd48530e4c43 Mon Sep 17 00:00:00 2001 From: Tristan Darricau Date: Wed, 30 Mar 2016 22:22:38 +0200 Subject: [ticket/13683] Removes extra / in script_path PHPBB3-13683 --- phpBB/phpbb/routing/helper.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'phpBB/phpbb/routing') diff --git a/phpBB/phpbb/routing/helper.php b/phpBB/phpbb/routing/helper.php index 011cc4bfef..c15608dce5 100644 --- a/phpBB/phpbb/routing/helper.php +++ b/phpBB/phpbb/routing/helper.php @@ -110,7 +110,7 @@ class helper $context->setScheme(substr($this->config['server_protocol'], 0, -3)); $context->setHttpPort($this->config['server_port']); $context->setHttpsPort($this->config['server_port']); - $context->setBaseUrl($this->config['script_path']); + $context->setBaseUrl(rtrim($this->config['script_path'], '/')); } $script_name = $this->symfony_request->getScriptName(); -- cgit v1.2.1