mirror of
https://github.com/mitb-archive/filebot
synced 2024-08-13 17:03:45 -04:00
* trailing "..." in filenames are not allowed on windows so ake sure we sanitize that as well
This commit is contained in:
parent
7eb3157019
commit
dbabcdcb7d
@ -458,7 +458,7 @@ public final class FileUtilities {
|
||||
/**
|
||||
* Invalid file name characters: \, /, :, *, ?, ", <, >, |, \r and \n
|
||||
*/
|
||||
public static final Pattern ILLEGAL_CHARACTERS = Pattern.compile("[\\\\/:*?\"<>|\\r\\n]");
|
||||
public static final Pattern ILLEGAL_CHARACTERS = Pattern.compile("[\\\\/:*?\"<>|\\r\\n]|[.]+$");
|
||||
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user