Fixes semicolon escape
All checks were successful
KnarCraft/FFmpegConvert/pipeline/head This commit looks good

This commit is contained in:
Kristian Knarvik 2020-04-06 20:48:52 +02:00
parent 156676cf56
commit 3335d70930

View File

@ -442,7 +442,7 @@ public abstract class Converter {
static String escapeSpecialCharactersInFileName(String fileName) {
return fileName.replace("'", "\\\\\\'")
.replace(",", "\\\\\\,")
.replace(";", "\\\\\\;")
.replace(";", "\\;")
.replace("]", "\\]")
.replace("[", "\\[");
}