1
0
Fork 0
flightgear/scripts/python
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
..
TerraSync terrasync.py: more thorough checking of .dirindex contents 2020-10-03 14:18:29 +02:00
demo.py Migrate FGFSDemo.py, FlightGear.py, demo.py and nasal_api_doc.py to Python 3 2020-08-05 14:01:57 +02:00
FGFSDemo.py Migrate FGFSDemo.py, FlightGear.py, demo.py and nasal_api_doc.py to Python 3 2020-08-05 14:01:57 +02:00
FlightGear.py Python: best practices 2020-08-29 12:07:15 -05:00
nasal_api_doc.py python: use a with-statement to manage file close 2020-10-01 22:51:31 -05:00