aboutsummaryrefslogtreecommitdiffstats
path: root/tests/functions
diff options
context:
space:
mode:
authorTristan Darricau <github@nicofuma.fr>2014-11-12 11:47:23 +0100
committerTristan Darricau <github@nicofuma.fr>2014-11-12 15:43:20 +0100
commit526a97db7cea84ab54b7d283c888ada58a310bc4 (patch)
tree4a646ee22539f2149c750ccc04a1d9777672a2a7 /tests/functions
parentf142ed28e4be52278dec6ee587fc24d65f33c96a (diff)
downloadforums-526a97db7cea84ab54b7d283c888ada58a310bc4.tar
forums-526a97db7cea84ab54b7d283c888ada58a310bc4.tar.gz
forums-526a97db7cea84ab54b7d283c888ada58a310bc4.tar.bz2
forums-526a97db7cea84ab54b7d283c888ada58a310bc4.tar.xz
forums-526a97db7cea84ab54b7d283c888ada58a310bc4.zip
[ticket/13280] Add new tests
PHPBB3-13280
Diffstat (limited to 'tests/functions')
-rw-r--r--tests/functions/build_url_test.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/functions/build_url_test.php b/tests/functions/build_url_test.php
index 06415a424e..a59b94c744 100644
--- a/tests/functions/build_url_test.php
+++ b/tests/functions/build_url_test.php
@@ -69,6 +69,11 @@ class phpbb_build_url_test extends phpbb_test_case
array('f', 'style', 't'),
'http://test.phpbb.com/viewtopic.php?',
),
+ array(
+ 'posting.php?f=2&mode=delete&p=20%22%3Cscript%3Ealert%281%29%3B%3C%2Fscript%3E',
+ false,
+ 'phpBB/posting.php?f=2&amp;mode=delete&amp;p=20%22%3Cscript%3Ealert%281%29%3B%3C%2Fscript%3E',
+ )
);
}