aboutsummaryrefslogtreecommitdiffstats
path: root/tests/text_processing/tickets_data/PHPBB3-16252.before.php
diff options
context:
space:
mode:
authorMarc Alexander <admin@m-a-styles.de>2019-12-12 18:16:55 +0100
committerMarc Alexander <admin@m-a-styles.de>2019-12-12 18:16:55 +0100
commit4a950750f4735a410b057f09462ce770697d0301 (patch)
tree9e762ba814ffa82d1e33cb7ee0b63cd9e7972a24 /tests/text_processing/tickets_data/PHPBB3-16252.before.php
parent1f00e160ab69b2a709793abc1829cc6e91e07b93 (diff)
parent5813b5fbee2ac332f14dee2da7df9c3dfd6c2719 (diff)
downloadforums-4a950750f4735a410b057f09462ce770697d0301.tar
forums-4a950750f4735a410b057f09462ce770697d0301.tar.gz
forums-4a950750f4735a410b057f09462ce770697d0301.tar.bz2
forums-4a950750f4735a410b057f09462ce770697d0301.tar.xz
forums-4a950750f4735a410b057f09462ce770697d0301.zip
Merge pull request #5772 from JoshyPHP/ticket/16252
[ticket/16252] Ignore non-BBCodes when looking for unauthorized markup
Diffstat (limited to 'tests/text_processing/tickets_data/PHPBB3-16252.before.php')
-rw-r--r--tests/text_processing/tickets_data/PHPBB3-16252.before.php17
1 files changed, 17 insertions, 0 deletions
diff --git a/tests/text_processing/tickets_data/PHPBB3-16252.before.php b/tests/text_processing/tickets_data/PHPBB3-16252.before.php
new file mode 100644
index 0000000000..94c59d9602
--- /dev/null
+++ b/tests/text_processing/tickets_data/PHPBB3-16252.before.php
@@ -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');
+}