* 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