diff options
author | Joas Schilling <nickvergessen@gmx.de> | 2014-05-13 20:04:16 +0200 |
---|---|---|
committer | Joas Schilling <nickvergessen@gmx.de> | 2014-05-29 23:44:10 +0200 |
commit | 41e52d9c9d3add473f46c6cc12d3fc208516d581 (patch) | |
tree | d330b4d01387f139a2f29745c8b0f331a318c341 | |
parent | b8f3972afaca9701defb0f719ef668c9bab5d5ca (diff) | |
download | forums-41e52d9c9d3add473f46c6cc12d3fc208516d581.tar forums-41e52d9c9d3add473f46c6cc12d3fc208516d581.tar.gz forums-41e52d9c9d3add473f46c6cc12d3fc208516d581.tar.bz2 forums-41e52d9c9d3add473f46c6cc12d3fc208516d581.tar.xz forums-41e52d9c9d3add473f46c6cc12d3fc208516d581.zip |
[ticket/12099] Break clean_path tests with a simple test
PHPBB3-12099
-rw-r--r-- | tests/filesystem/clean_path_test.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/filesystem/clean_path_test.php b/tests/filesystem/clean_path_test.php index 1aef0d8a0c..c585b17155 100644 --- a/tests/filesystem/clean_path_test.php +++ b/tests/filesystem/clean_path_test.php @@ -32,6 +32,8 @@ class phpbb_filesystem_clean_path_test extends phpbb_test_case array('foo/bar/.', 'foo/bar'), array('./foo/bar', './foo/bar'), array('../foo/bar', '../foo/bar'), + array('./../foo/bar', './../foo/bar'), + array('././../foo/bar', './../foo/bar'), array('one/two/three', 'one/two/three'), array('one/two/../three', 'one/three'), array('one/../two/three', 'two/three'), |