mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-06 16:56:44 +02:00
[ticket/14527] Decode automatically generated postlink without prefix
The http prefix gets automatically added and should be removed prior to outputting the post to the user. PHPBB3-14527
This commit is contained in:
@@ -469,7 +469,7 @@ function decode_message(&$message, $bbcode_uid = '')
|
||||
$message = str_replace($match, $replace, $message);
|
||||
|
||||
$match = get_preg_expression('bbcode_htm');
|
||||
$replace = array('\1', '\1', '\2', '\1', '', '');
|
||||
$replace = array('\1', '\1', '\2', '\2', '\1', '', '');
|
||||
|
||||
$message = preg_replace($match, $replace, $message);
|
||||
}
|
||||
|
Reference in New Issue
Block a user