mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-06 21:00:22 +00:00
fix file path issue
This commit is contained in:
parent
45edbbdf36
commit
c68b6c9557
@ -266,7 +266,7 @@ public class IngestFileFiltersTest extends NbTestCase {
|
|||||||
String errMsg = String.format("File %s (objId=%d) unexpectedly blocked by the file filter.", file.getName(), file.getId());
|
String errMsg = String.format("File %s (objId=%d) unexpectedly blocked by the file filter.", file.getName(), file.getId());
|
||||||
assertTrue(errMsg, file.getMIMEType() != null && !file.getMIMEType().isEmpty());
|
assertTrue(errMsg, file.getMIMEType() != null && !file.getMIMEType().isEmpty());
|
||||||
|
|
||||||
if (file.getParentPath().equalsIgnoreCase("/$CarvedFiles/")) {
|
if (file.getParentPath().startsWith("/$CarvedFiles/")) {
|
||||||
carvedJpgGifFiles++;
|
carvedJpgGifFiles++;
|
||||||
}
|
}
|
||||||
} else if (file.getName().startsWith("Unalloc_")) {
|
} else if (file.getName().startsWith("Unalloc_")) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user