aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc Alexander <admin@m-a-styles.de>2015-01-19 16:10:32 +0100
committerMarc Alexander <admin@m-a-styles.de>2015-01-19 16:10:32 +0100
commitda189a105b41736f9e47c2f560f242d7844f9b43 (patch)
treedff1b6b056ef87c011af60a47ed6962c8b058e02 /tests/path_helper/path_helper_test.php
parent[ticket/13192] Use ltrim() instead of preg_replace() (diff)
downloadphpbb-da189a105b41736f9e47c2f560f242d7844f9b43.tar.gz
phpbb-da189a105b41736f9e47c2f560f242d7844f9b43.tar.bz2
phpbb-da189a105b41736f9e47c2f560f242d7844f9b43.zip
[ticket/13192] Add test for app.php in external subfolder
PHPBB3-13192
Diffstat (limited to 'tests/path_helper/path_helper_test.php')
-rw-r--r--tests/path_helper/path_helper_test.php2
1 files changed, 2 insertions, 0 deletions
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'),
);
}