From 72009fc79f616dca07eab6ccf71e34089378baad Mon Sep 17 00:00:00 2001 From: "patrick.pdb" Date: Fri, 2 Aug 2024 17:11:36 -0400 Subject: [PATCH] '#2280 Corrects bug that adds | for app name of not found IDs --- iped-app/resources/scripts/tasks/ClassifyJumplists.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/iped-app/resources/scripts/tasks/ClassifyJumplists.js b/iped-app/resources/scripts/tasks/ClassifyJumplists.js index 7db31ce71a..a70a5832ea 100644 --- a/iped-app/resources/scripts/tasks/ClassifyJumplists.js +++ b/iped-app/resources/scripts/tasks/ClassifyJumplists.js @@ -837,9 +837,9 @@ function process(item){ id = path.substring(0,i); id = id.substring(path.lastIndexOf("/")+1).toUpperCase(); item.getMetadata().add("Application ID", id); - + var pos = IdsList.indexOf(id) + 19; - if(pos>18){ + if(pos>19){ item.getMetadata().add("Application Name", IdsList.substring(pos,IdsList.indexOf('"',pos))); } }