From da189a105b41736f9e47c2f560f242d7844f9b43 Mon Sep 17 00:00:00 2001 From: Marc Alexander Date: Mon, 19 Jan 2015 16:10:32 +0100 Subject: [PATCH] [ticket/13192] Add test for app.php in external subfolder PHPBB3-13192 --- tests/path_helper/path_helper_test.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/path_helper/path_helper_test.php b/tests/path_helper/path_helper_test.php index 3b25eba716..f33509c975 100644 --- a/tests/path_helper/path_helper_test.php +++ b/tests/path_helper/path_helper_test.php @@ -434,6 +434,8 @@ class phpbb_path_helper_test extends phpbb_test_case array('app.php/foo', false, 'app.php/foo'), array('/../app.php/foo', true, '../foo'), array('/../app.php/foo', false, '../app.php/foo'), + array('/../example/app.php/foo/bar', true, '../example/foo/bar'), + array('/../example/app.php/foo/bar', false, '../example/app.php/foo/bar'), ); }