From d8a5020f5749ed803833e2c46bc03d5f6d8f4ec5 Mon Sep 17 00:00:00 2001
From: Ryan Eisma <ryandeisma@users.noreply.github.com>
Date: Thu, 13 Jul 2023 13:01:52 -0400
Subject: [PATCH] CT-7152

---
 db_diff/tskdbdiff.py | 13 +------------
 1 file changed, 1 insertion(+), 12 deletions(-)

diff --git a/db_diff/tskdbdiff.py b/db_diff/tskdbdiff.py
index ab469d667..f3b874e92 100644
--- a/db_diff/tskdbdiff.py
+++ b/db_diff/tskdbdiff.py
@@ -1027,20 +1027,9 @@ def normalize_tsk_objects_path(guid_util: TskGuidUtils, objid: int,
                             path_parts[idx + 2].lower().endswith("report.html"):
                         path_parts = ["Reports", "html-report.html"]
                         break
-            for idx in range(0, len(path_parts) - 1):
-                if path_parts[idx].lower() == "reports" and \
-                        path_parts[idx + 1].lower().startswith("autopsytestcase html report"):
-                    path_parts = ["Reports", "AutopsyTestCase HTML Report"]
-                    break
-                if path_parts[idx].lower() == "reports" and \
-                        "html report" in path_parts[idx + 1].lower() and \
-                        len(path_parts) > idx + 2 and \
-                        path_parts[idx + 2].lower().endswith("report.html"):
-                    path_parts = ["Reports", "html-report.html"]
-                    break
 
 
-        path = os.path.join(*path_parts) if (path_parts != None and len(path_parts)) > 0 else '/'
+        path = os.path.join(*path_parts) if (path_parts is not None and len(path_parts) > 0) else '/'
 
         return path
 
-- 
GitLab