aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb/textformatter/s9e/factory.php
diff options
context:
space:
mode:
authorJoshyPHP <s9e.dev@gmail.com>2015-12-05 19:48:01 +0100
committerJoshyPHP <s9e.dev@gmail.com>2015-12-26 14:19:22 +0100
commit8fe94a19b46c4e33a117c1a040415f2b1c397e7c (patch)
tree97a3279742d78a2cc30cfbf1dfc4d889c7b190d5 /phpBB/phpbb/textformatter/s9e/factory.php
parenteb6ceb963ea7b32ef852b53d3da3a7e795291359 (diff)
downloadforums-8fe94a19b46c4e33a117c1a040415f2b1c397e7c.tar
forums-8fe94a19b46c4e33a117c1a040415f2b1c397e7c.tar.gz
forums-8fe94a19b46c4e33a117c1a040415f2b1c397e7c.tar.bz2
forums-8fe94a19b46c4e33a117c1a040415f2b1c397e7c.tar.xz
forums-8fe94a19b46c4e33a117c1a040415f2b1c397e7c.zip
[ticket/14323] Added support for truncating local URLs
PHPBB3-14323
Diffstat (limited to 'phpBB/phpbb/textformatter/s9e/factory.php')
-rw-r--r--phpBB/phpbb/textformatter/s9e/factory.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/phpBB/phpbb/textformatter/s9e/factory.php b/phpBB/phpbb/textformatter/s9e/factory.php
index dd3102d4de..63e49b6dd4 100644
--- a/phpBB/phpbb/textformatter/s9e/factory.php
+++ b/phpBB/phpbb/textformatter/s9e/factory.php
@@ -415,7 +415,8 @@ class factory implements \phpbb\textformatter\cache_interface
->add(__NAMESPACE__ . '\\parser::generate_autolink_text')
->resetParameters()
->addParameterByName('tag')
- ->addParameterByName('parser');
+ ->addParameterByName('parser')
+ ->addParameterByValue(generate_board_url() . '/');
}
/**