mirror of
https://github.com/elisspace/autopsy.git
synced 2026-09-30 06:19:52 +00:00
make sure short description (root folder) ends with "/"
This commit is contained in:
@@ -491,6 +491,7 @@ public class EventsRepository {
|
||||
|
||||
String rootFolder = StringUtils.substringBefore(StringUtils.substringAfter(parentPath, "/"), "/");
|
||||
String shortDesc = datasourceName + "/" + StringUtils.defaultString(rootFolder);
|
||||
shortDesc = shortDesc.endsWith("/") ? shortDesc : shortDesc + "/";
|
||||
String medDesc = datasourceName + parentPath;
|
||||
|
||||
final TskData.FileKnown known = f.getKnown();
|
||||
|
||||
Reference in New Issue
Block a user