diff options
author | Scott Jackson <daneren2005@gmail.com> | 2012-10-22 20:46:00 -0700 |
---|---|---|
committer | Scott Jackson <daneren2005@gmail.com> | 2012-10-22 20:46:00 -0700 |
commit | cc22988ff7aad3d37bd7546b4c0a5b20656e0116 (patch) | |
tree | 94503737d55ac94f0de82742de83711610193e4b /subsonic-android/src/github | |
parent | 828443d33f3e49b2fcaca5b510e78a39de943591 (diff) | |
download | dsub-cc22988ff7aad3d37bd7546b4c0a5b20656e0116.tar.gz dsub-cc22988ff7aad3d37bd7546b4c0a5b20656e0116.tar.bz2 dsub-cc22988ff7aad3d37bd7546b4c0a5b20656e0116.zip |
Don't crap out on '|'
Diffstat (limited to 'subsonic-android/src/github')
-rw-r--r-- | subsonic-android/src/github/daneren2005/dsub/util/FileUtil.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/subsonic-android/src/github/daneren2005/dsub/util/FileUtil.java b/subsonic-android/src/github/daneren2005/dsub/util/FileUtil.java index 777124bd..d77f21c5 100644 --- a/subsonic-android/src/github/daneren2005/dsub/util/FileUtil.java +++ b/subsonic-android/src/github/daneren2005/dsub/util/FileUtil.java @@ -43,8 +43,8 @@ import github.daneren2005.dsub.domain.MusicDirectory; public class FileUtil { private static final String TAG = FileUtil.class.getSimpleName(); - private static final String[] FILE_SYSTEM_UNSAFE = {"/", "\\", "..", ":", "\"", "?", "*", "<", ">"}; - private static final String[] FILE_SYSTEM_UNSAFE_DIR = {"\\", "..", ":", "\"", "?", "*", "<", ">"}; + private static final String[] FILE_SYSTEM_UNSAFE = {"/", "\\", "..", ":", "\"", "?", "*", "<", ">", "|"}; + private static final String[] FILE_SYSTEM_UNSAFE_DIR = {"\\", "..", ":", "\"", "?", "*", "<", ">", "|"}; private static final List<String> MUSIC_FILE_EXTENSIONS = Arrays.asList("mp3", "ogg", "aac", "flac", "m4a", "wav", "wma"); private static final File DEFAULT_MUSIC_DIR = createDirectory("music"); |