aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/functions.php
diff options
context:
space:
mode:
authorNils Adermann <naderman@naderman.de>2007-09-09 13:35:57 +0000
committerNils Adermann <naderman@naderman.de>2007-09-09 13:35:57 +0000
commit183dcaf4275c73da17f4cf83be3001c9211fa4ac (patch)
tree747c354ad77bb266be03a39fd86de1006fbb3272 /phpBB/includes/functions.php
parentc8ecf341b909f901bfef997fb5d753011303f716 (diff)
downloadforums-183dcaf4275c73da17f4cf83be3001c9211fa4ac.tar
forums-183dcaf4275c73da17f4cf83be3001c9211fa4ac.tar.gz
forums-183dcaf4275c73da17f4cf83be3001c9211fa4ac.tar.bz2
forums-183dcaf4275c73da17f4cf83be3001c9211fa4ac.tar.xz
forums-183dcaf4275c73da17f4cf83be3001c9211fa4ac.zip
- http://www.boardlocation.tld/phpBB/ links will not get an extra trailing slash with magic url anymore [Bug #14362]
git-svn-id: file:///svn/phpbb/trunk@8084 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/functions.php')
-rw-r--r--phpBB/includes/functions.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/functions.php b/phpBB/includes/functions.php
index 9f75438e84..2ce788e80a 100644
--- a/phpBB/includes/functions.php
+++ b/phpBB/includes/functions.php
@@ -2711,7 +2711,7 @@ function make_clickable_callback($type, $whitespace, $url, $relative_url, $class
$tag = 'l';
$relative_url = preg_replace('/[&?]sid=[0-9a-f]{32}$/', '', preg_replace('/([&?])sid=[0-9a-f]{32}&/', '$1', $relative_url));
$url = $url . '/' . $relative_url;
- $text = ($relative_url) ? $relative_url : $url . '/';
+ $text = ($relative_url) ? $relative_url : $url;
break;
case MAGIC_URL_FULL: