[ticket/12099] Break clean_path tests with a simple test

PHPBB3-12099
This commit is contained in:
Joas Schilling 2014-05-13 20:04:16 +02:00
parent b8f3972afa
commit 41e52d9c9d

View file

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