Comment 12 for bug 1756904

Revision history for this message
Robert Lyon (robertl-9) wrote :

One of the things we should cater for is the problem of invalid chars in filepath names

There are a bunch of chars that we should avoid using that Windows doesn't like:

< (less than)
> (greater than)
: (colon - sometimes works, but is actually NTFS Alternate Data Streams)
" (double quote)
/ (forward slash)
\ (backslash)
| (vertical bar or pipe)
? (question mark)
* (asterisk)

see: https://stackoverflow.com/questions/1976007/what-characters-are-forbidden-in-windows-and-linux-directory-names

Even though linux can handle most of those we are doing an export so are not knowing what system the export will be imported into. So better to make things more compatible by dealing with those chars during export and replacing them with something more useful like _ or -