Skip to content

Commit fa23a78

Browse files
Fix formatting (take 2)
1 parent 73e6274 commit fa23a78

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/net/rptools/lib/FileUtil.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -383,7 +383,7 @@ public static void unzipFile(File sourceFile, File destDir) throws IOException {
383383
// Create file object and validate path
384384
File file = new File(canonicalDestDir, entry.getName());
385385
File canonicalFile = file.getCanonicalFile();
386-
386+
387387
// Prevent zip slip - check if file path is within destination directory
388388
if (!canonicalFile.toPath().startsWith(canonicalDestDir.toPath())) {
389389
throw new IOException("Entry is outside of the target directory: " + entry.getName());

0 commit comments

Comments
 (0)