From eb2c68616f296c7f02fb1af0daa84a1305427d9b Mon Sep 17 00:00:00 2001 From: Kelly Kelly Date: Thu, 20 Aug 2020 10:23:02 -0400 Subject: [PATCH] Changed path check per Brian's request --- Core/src/org/sleuthkit/autopsy/coreutils/AppSQLiteDB.java | 2 +- Core/src/org/sleuthkit/autopsy/coreutils/SQLiteTableReader.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Core/src/org/sleuthkit/autopsy/coreutils/AppSQLiteDB.java b/Core/src/org/sleuthkit/autopsy/coreutils/AppSQLiteDB.java index f91e35c959..28f9516350 100644 --- a/Core/src/org/sleuthkit/autopsy/coreutils/AppSQLiteDB.java +++ b/Core/src/org/sleuthkit/autopsy/coreutils/AppSQLiteDB.java @@ -391,7 +391,7 @@ public final class AppSQLiteDB { String metaFileName) throws NoCurrentCaseException, TskCoreException, IOException { // Do not look for metaFile if this is a carved directory - if(sqliteFile.getParentPath().contains("carvedfiles")) { + if(sqliteFile.getParentPath().equalsIgnoreCase("/$carvedfiles/")) { return; } diff --git a/Core/src/org/sleuthkit/autopsy/coreutils/SQLiteTableReader.java b/Core/src/org/sleuthkit/autopsy/coreutils/SQLiteTableReader.java index 6c823b9553..0c3b0c65c5 100755 --- a/Core/src/org/sleuthkit/autopsy/coreutils/SQLiteTableReader.java +++ b/Core/src/org/sleuthkit/autopsy/coreutils/SQLiteTableReader.java @@ -427,7 +427,7 @@ public class SQLiteTableReader implements AutoCloseable { String metaFileName) throws NoCurrentCaseException, TskCoreException, IOException { // Do not look for metaFile if this is a carved directory - if(sqliteFile.getParentPath().contains("carvedfiles")) { + if(sqliteFile.getParentPath().equalsIgnoreCase("/$carvedfiles/")) { return; }