mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-28 10:40:28 +02:00
[ticket/16252] Ignore non-BBCodes when looking for unauthorized markup
PHPBB3-16252
This commit is contained in:
17
tests/text_processing/tickets_data/PHPBB3-16252.before.php
Normal file
17
tests/text_processing/tickets_data/PHPBB3-16252.before.php
Normal file
@@ -0,0 +1,17 @@
|
||||
<?php
|
||||
/**
|
||||
*
|
||||
* This file is part of the phpBB Forum Software package.
|
||||
*
|
||||
* @copyright (c) phpBB Limited <https://www.phpbb.com>
|
||||
* @license GNU General Public License, version 2 (GPL-2.0)
|
||||
*
|
||||
* For full copyright and license information, please see
|
||||
* the docs/CREDITS.txt file.
|
||||
*
|
||||
*/
|
||||
|
||||
function before_assert_phpbb3_16252($vars)
|
||||
{
|
||||
$vars['parser']->disable_bbcode('url');
|
||||
}
|
Reference in New Issue
Block a user