mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 22:10:45 +02:00
[ticket/13280] Add new tests
PHPBB3-13280
This commit is contained in:
@@ -69,6 +69,11 @@ class phpbb_build_url_test extends phpbb_test_case
|
|||||||
array('f', 'style', 't'),
|
array('f', 'style', 't'),
|
||||||
'http://test.phpbb.com/viewtopic.php?',
|
'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&mode=delete&p=20%22%3Cscript%3Ealert%281%29%3B%3C%2Fscript%3E',
|
||||||
|
)
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user