Merge branch 'illegal_filename' of git://github.com/andrey-krutov/AntennaPod into andrey-krutov-illegal_filename
This commit is contained in:
commit
71a9f44264
|
@ -6,7 +6,7 @@ import java.util.Arrays;
|
||||||
public class FileNameGenerator {
|
public class FileNameGenerator {
|
||||||
|
|
||||||
private static final char[] ILLEGAL_CHARACTERS = { '/', '\\', '?', '%',
|
private static final char[] ILLEGAL_CHARACTERS = { '/', '\\', '?', '%',
|
||||||
'*', ':', '|', '"', '<', '>' };
|
'*', ':', '|', '"', '<', '>', '\n' };
|
||||||
static {
|
static {
|
||||||
Arrays.sort(ILLEGAL_CHARACTERS);
|
Arrays.sort(ILLEGAL_CHARACTERS);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue