From f0be8b10cf9d1d2deac73c70f74b0075670408cc Mon Sep 17 00:00:00 2001 From: Karl Mortensen Date: Thu, 4 Feb 2016 15:20:55 -0500 Subject: [PATCH] uppercase the drive name to check for UNC mapping --- Core/src/org/sleuthkit/autopsy/coreutils/UNCPathUtilities.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Core/src/org/sleuthkit/autopsy/coreutils/UNCPathUtilities.java b/Core/src/org/sleuthkit/autopsy/coreutils/UNCPathUtilities.java index 103a94013c..9ba40b7a08 100644 --- a/Core/src/org/sleuthkit/autopsy/coreutils/UNCPathUtilities.java +++ b/Core/src/org/sleuthkit/autopsy/coreutils/UNCPathUtilities.java @@ -84,7 +84,7 @@ public class UNCPathUtilities { String uncPath = null; try { String currentDrive = Paths.get(inputPath).getRoot().toString().substring(STARTING_OFFSET, REPLACEMENT_SIZE); - String uncMapping = drives.get(currentDrive); + String uncMapping = drives.get(currentDrive.toUpperCase()); if (uncMapping != null) { uncPath = uncMapping + inputPath.substring(REPLACEMENT_SIZE, inputPath.length()); }