From 4b9434bf1ba4c015da11309602cfccf1a9c2493c Mon Sep 17 00:00:00 2001 From: Marc Alexander Date: Wed, 21 Jan 2015 00:16:42 +0100 Subject: [ticket/13531] Explicitly disallow trailing paths (e.g. PATH_INFO). PHPBB3-13531 --- tests/security/trailing_path_test.php | 55 +++++++++++++++++++++++++++++++++++ 1 file changed, 55 insertions(+) create mode 100644 tests/security/trailing_path_test.php (limited to 'tests/security') diff --git a/tests/security/trailing_path_test.php b/tests/security/trailing_path_test.php new file mode 100644 index 0000000000..72ec6b8816 --- /dev/null +++ b/tests/security/trailing_path_test.php @@ -0,0 +1,55 @@ +assertSame($expected, phpbb_has_trailing_path($phpEx)); + } +} -- cgit v1.2.1