mirror of
https://github.com/mitb-archive/filebot
synced 2024-12-23 08:18:52 -05:00
* get rid of invalid trailing spaces as well when forcing valid filenames
This commit is contained in:
parent
dbabcdcb7d
commit
6d46fbf314
@ -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