diff --git a/src/main/java/com/rarchives/ripme/utils/Utils.java b/src/main/java/com/rarchives/ripme/utils/Utils.java index c24c3023..bc3bd267 100644 --- a/src/main/java/com/rarchives/ripme/utils/Utils.java +++ b/src/main/java/com/rarchives/ripme/utils/Utils.java @@ -160,7 +160,10 @@ public class Utils { else { try { logger.debug("fullPath = " + fullPath); - String jarPath = fullPath.replaceFirst("[.]jar[!].*", ".jar").replaceFirst("file:", ""); + String jarPath = fullPath + .replaceFirst("[.]jar[!].*", ".jar") + .replaceFirst("file:", "") + .replaceAll("%20", " "); logger.debug("jarPath = " + jarPath); JarFile jarFile = new JarFile(jarPath); Enumeration entries = jarFile.entries();