Skip to content

Commit

Permalink
'#2280 Corrects bug that adds | for app name of not found IDs
Browse files Browse the repository at this point in the history
  • Loading branch information
patrickdalla committed Aug 2, 2024
1 parent 8af455c commit 72009fc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions iped-app/resources/scripts/tasks/ClassifyJumplists.js
Original file line number Diff line number Diff line change
Expand Up @@ -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)));
}
}
Expand Down

0 comments on commit 72009fc

Please sign in to comment.