aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb/routing/helper.php
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/phpbb/routing/helper.php')
-rw-r--r--phpBB/phpbb/routing/helper.php2
1 files changed, 1 insertions, 1 deletions
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();