1
0
mirror of https://github.com/mitb-archive/filebot synced 2024-11-17 06:45:06 -05:00

* trailing "..." in filenames are not allowed on windows so ake sure we sanitize that as well

This commit is contained in:
Reinhard Pointner 2013-05-24 05:05:35 +00:00
parent 7eb3157019
commit dbabcdcb7d

View File

@ -458,7 +458,7 @@ public final class FileUtilities {
/** /**
* Invalid file name characters: \, /, :, *, ?, ", <, >, |, \r and \n * 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]|[.]+$");
/** /**