1
0
Fork 0
flightgear/scripts/python/TerraSync/tests/data/dirindex/bad
Florent Rougon 692ab6835f terrasync.py: more thorough checking of .dirindex contents
- only accept ASCII-encoded .dirindex files (this is guaranteed to work
  fine "everywhere");

- reject .dirindex files with a 'path' entry that contains a backslash
  or starts with a slash;

- reject .dirindex files with a 'path' entry that contains a '..'
  component;

- reject .dirindex files with an 'f', 'd' or 't' entry whose name field
  contains a slash or a backslash;

- reject .dirindex files with an 'f', 'd' or 't' entry whose name field
  is '..';

- add comment lines (starting with '#') in the sample good .dirindex
  file used by unit tests.
2020-10-03 14:18:29 +02:00
..
bad_dirindex_backslash_in_directory_name terrasync.py: more thorough checking of .dirindex contents 2020-10-03 14:18:29 +02:00
bad_dirindex_backslash_in_file_name terrasync.py: more thorough checking of .dirindex contents 2020-10-03 14:18:29 +02:00
bad_dirindex_backslash_in_tarball_name terrasync.py: more thorough checking of .dirindex contents 2020-10-03 14:18:29 +02:00
bad_dirindex_directory_name_is_double_colon terrasync.py: more thorough checking of .dirindex contents 2020-10-03 14:18:29 +02:00
bad_dirindex_dotdot_in_path terrasync.py: more thorough checking of .dirindex contents 2020-10-03 14:18:29 +02:00
bad_dirindex_encoding terrasync.py: more thorough checking of .dirindex contents 2020-10-03 14:18:29 +02:00
bad_dirindex_file_name_is_double_colon terrasync.py: more thorough checking of .dirindex contents 2020-10-03 14:18:29 +02:00
bad_dirindex_path_contains_a_backslash terrasync.py: more thorough checking of .dirindex contents 2020-10-03 14:18:29 +02:00
bad_dirindex_path_starts_with_slash terrasync.py: more thorough checking of .dirindex contents 2020-10-03 14:18:29 +02:00
bad_dirindex_slash_in_directory_name terrasync.py: more thorough checking of .dirindex contents 2020-10-03 14:18:29 +02:00
bad_dirindex_slash_in_file_name terrasync.py: more thorough checking of .dirindex contents 2020-10-03 14:18:29 +02:00
bad_dirindex_slash_in_tarball_name terrasync.py: more thorough checking of .dirindex contents 2020-10-03 14:18:29 +02:00
bad_dirindex_tarball_name_is_double_colon terrasync.py: more thorough checking of .dirindex contents 2020-10-03 14:18:29 +02:00