Merge pull request #197 from Zunawe/master

Expand list of illegal characters for downloaded filenames
This commit is contained in:
dkanada 2022-02-14 14:32:23 +09:00 committed by GitHub
commit aee4fe8827
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -86,7 +86,7 @@ public class MusicUtil {
@NonNull @NonNull
public static String ascii(String string) { public static String ascii(String string) {
return string == null ? "Unknown" : string.replaceAll("[\\x00-\\x1F\\x2F\\x7F]", ""); return string == null ? "Unknown" : string.replaceAll("[\\x00-\\x1F\\x22\\x2A\\x2F\\x3A\\x3C\\x3E\\x3F\\x5C\\x7C\\x7F]", "");
} }
@NonNull @NonNull