[ticket/13192] Add test for app.php in external subfolder

PHPBB3-13192
This commit is contained in:
Marc Alexander 2015-01-19 16:10:32 +01:00
parent e6509aaf60
commit da189a105b

View file

@ -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'),
);
}