1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-11 03:04:09 +02:00

[ticket/14323] Added support for truncating local URLs

PHPBB3-14323
This commit is contained in:
JoshyPHP
2015-12-05 19:48:01 +01:00
parent eb6ceb963e
commit 8fe94a19b4
6 changed files with 37 additions and 16 deletions

View File

@@ -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() . '/');
}
/**