Please sign in to comment.
BUG FileNameFilter should remove any amount of underscores from start…
… of filename When a user renames a file to "__test.txt" (two underscores or more), then FileNameFilter will only remove the very first underscore from the filename. This is not sufficient, as any number of underscores in the filename will be problematic when Filesystem::sync() is called, it will remove that File record thinking it's an internal file. This fixes it so any number of underscores are stripped out at the start of the filename.
- Loading branch information...
Showing with 14 additions and 2 deletions.