From b817d146a49a0a9f2fdedaa2dffc8da8a0cf24e8 Mon Sep 17 00:00:00 2001 From: Reinhard Pointner Date: Fri, 1 Apr 2016 13:04:13 +0000 Subject: [PATCH] // normalize weird paths --- source/net/filebot/cli/CmdlineOperations.java | 1 + 1 file changed, 1 insertion(+) diff --git a/source/net/filebot/cli/CmdlineOperations.java b/source/net/filebot/cli/CmdlineOperations.java index 307d78a8..c3f9ec46 100644 --- a/source/net/filebot/cli/CmdlineOperations.java +++ b/source/net/filebot/cli/CmdlineOperations.java @@ -1118,6 +1118,7 @@ public class CmdlineOperations implements CmdlineInterface { if (!outputFolder.isAbsolute()) { outputFolder = new File(file.getParentFile(), outputFolder.getPath()); } + outputFolder = outputFolder.getCanonicalFile(); // normalize weird paths log.info(format("Read archive [%s] and extract to [%s]", file.getName(), outputFolder)); final FileMapper outputMapper = new FileMapper(outputFolder);