diff options
Diffstat (limited to 'phpBB/includes/message_parser.php')
-rw-r--r-- | phpBB/includes/message_parser.php | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/phpBB/includes/message_parser.php b/phpBB/includes/message_parser.php index 52bba31da3..9b3dcad871 100644 --- a/phpBB/includes/message_parser.php +++ b/phpBB/includes/message_parser.php @@ -1066,23 +1066,8 @@ class parse_message extends bbcode_firstpass // Parse URL's if ($allow_magic_url) { - $replaced = false; - - // We have the bbcode uid here, let's at least try to circumvent a specific bug... - if ($allow_bbcode && strpos($this->message, '[/quote:' . $this->bbcode_uid . ']') !== false && strpos($this->message, '":' . $this->bbcode_uid . ']') !== false) - { - $this->message = str_replace('":' . $this->bbcode_uid . ']', '"&quot;:' . $this->bbcode_uid . ']', $this->message); - $replaced = true; - } - $this->magic_url(generate_board_url()); - // Revert our change above - if ($replaced) - { - $this->message = str_replace('"&quot;:' . $this->bbcode_uid . ']', '":' . $this->bbcode_uid . ']', $this->message); - } - if ($config['max_' . $mode . '_urls']) { $num_urls += preg_match_all('#\<!-- ([lmwe]) --\>.*?\<!-- \1 --\>#', $this->message, $matches); |