git-svn-id: http://svn.redmine.org/redmine/trunk@20127 e93f8b46-1217-0410-a6f0-8f06a7374b81tags/4.2.0
@@ -36,7 +36,7 @@ class FilesystemAdapterTest < ActiveSupport::TestCase | |||
assert_equal ["subdir", "dirfile"], @adapter.entries(path).collect(&:name) | |||
end | |||
# If y try to use "..", the path is ignored | |||
["/../","dir/../", "..", "../", "/..", "dir/.."].each do |path| | |||
["/../", "dir/../", "..", "../", "/..", "dir/.."].each do |path| | |||
assert_equal( | |||
["dir", "japanese", "test"], @adapter.entries(path).collect(&:name), | |||
".. must be ignored in path argument") |