diff --git a/Core/src/org/sleuthkit/autopsy/coreutils/ImageUtils.java b/Core/src/org/sleuthkit/autopsy/coreutils/ImageUtils.java index 475c365451..057c39cade 100755 --- a/Core/src/org/sleuthkit/autopsy/coreutils/ImageUtils.java +++ b/Core/src/org/sleuthkit/autopsy/coreutils/ImageUtils.java @@ -246,7 +246,7 @@ public class ImageUtils { } else { try { String mimeType = getFileTypeDetector().detect(file); - if (StringUtils.isNotBlank(mimeTypePrefix) && mimeTypePrefix.startsWith(mimeTypePrefix)) { + if (StringUtils.isNotBlank(mimeTypePrefix) && mimeType.startsWith(mimeTypePrefix)) { return true; } return supportedMimeTypes.contains(mimeType);