From 281cc5353208258e7f4a9032f720c5f1ae0fb8dc Mon Sep 17 00:00:00 2001 From: Marc Alexander Date: Sun, 2 Nov 2014 12:01:42 +0100 Subject: [ticket/13192] Remove app.php on mod rewrite even if app.php is outside root PHPBB3-13192 --- tests/path_helper/path_helper_test.php | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tests/path_helper/path_helper_test.php') diff --git a/tests/path_helper/path_helper_test.php b/tests/path_helper/path_helper_test.php index 26cb940b54..62c2a24b22 100644 --- a/tests/path_helper/path_helper_test.php +++ b/tests/path_helper/path_helper_test.php @@ -432,6 +432,8 @@ class phpbb_path_helper_test extends phpbb_test_case array('foo/index', false, 'foo/index'), array('app.php/foo', false, 'app.php/foo'), array('app.php/foo', true, 'foo'), + array('/../app.php/foo', false, '../app.php/foo'), + array('/../app.php/foo', true, '../foo'), ); } -- cgit v1.2.1