aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoas Schilling <nickvergessen@gmx.de>2014-05-13 20:04:16 +0200
committerJoas Schilling <nickvergessen@gmx.de>2014-05-29 23:44:10 +0200
commit41e52d9c9d3add473f46c6cc12d3fc208516d581 (patch)
treed330b4d01387f139a2f29745c8b0f331a318c341
parentb8f3972afaca9701defb0f719ef668c9bab5d5ca (diff)
downloadforums-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.php2
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'),