mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-07 20:08:53 +00:00
[ticket/12099] Break clean_path tests with a simple test
PHPBB3-12099
This commit is contained in:
parent
b8f3972afa
commit
41e52d9c9d
1 changed files with 2 additions and 0 deletions
|
@ -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'),
|
||||
|
|
Loading…
Add table
Reference in a new issue