From 3335d70930e34ddf4efe9c69c370141fa4eb15dc Mon Sep 17 00:00:00 2001 From: EpicKnarvik97 Date: Mon, 6 Apr 2020 20:48:52 +0200 Subject: [PATCH] Fixes semicolon escape --- .../java/net/knarcraft/ffmpegconverter/converter/Converter.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/net/knarcraft/ffmpegconverter/converter/Converter.java b/src/main/java/net/knarcraft/ffmpegconverter/converter/Converter.java index caa2055..9b5347b 100644 --- a/src/main/java/net/knarcraft/ffmpegconverter/converter/Converter.java +++ b/src/main/java/net/knarcraft/ffmpegconverter/converter/Converter.java @@ -442,7 +442,7 @@ public abstract class Converter { static String escapeSpecialCharactersInFileName(String fileName) { return fileName.replace("'", "\\\\\\'") .replace(",", "\\\\\\,") - .replace(";", "\\\\\\;") + .replace(";", "\\;") .replace("]", "\\]") .replace("[", "\\["); }