mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-08 22:29:33 +00:00
Merge pull request #7895 from markmckinnon/AUT-2482-Opera-Borwser-Failing-to-parse-history
AUT-2482-Opera-Borwser-Failing-to-parse-history
This commit is contained in:
commit
9498d95aa0
@ -320,6 +320,8 @@ class Chromium extends Extract {
|
|||||||
jProfile = jElement.get("profile").getAsJsonObject(); //NON-NLS
|
jProfile = jElement.get("profile").getAsJsonObject(); //NON-NLS
|
||||||
jInfoCache = jProfile.get("info_cache").getAsJsonObject();
|
jInfoCache = jProfile.get("info_cache").getAsJsonObject();
|
||||||
} else {
|
} else {
|
||||||
|
userProfiles.put(browserLocation, "Default");
|
||||||
|
browserLocations.put(browserLocation, browser);
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
} catch (JsonIOException | JsonSyntaxException | IllegalStateException ex) {
|
} catch (JsonIOException | JsonSyntaxException | IllegalStateException ex) {
|
||||||
@ -854,6 +856,7 @@ class Chromium extends Extract {
|
|||||||
Set<String> bookmarkKeys = jRoot.keySet();
|
Set<String> bookmarkKeys = jRoot.keySet();
|
||||||
for (String bookmarkKey : bookmarkKeys) {
|
for (String bookmarkKey : bookmarkKeys) {
|
||||||
JsonObject jBookmark = jRoot.get(bookmarkKey).getAsJsonObject(); //NON-NLS
|
JsonObject jBookmark = jRoot.get(bookmarkKey).getAsJsonObject(); //NON-NLS
|
||||||
|
if (jBookmark.has("children")) {
|
||||||
JsonArray jBookmarkArray = jBookmark.getAsJsonArray("children"); //NON-NLS
|
JsonArray jBookmarkArray = jBookmark.getAsJsonArray("children"); //NON-NLS
|
||||||
for (JsonElement result : jBookmarkArray) {
|
for (JsonElement result : jBookmarkArray) {
|
||||||
JsonObject address = result.getAsJsonObject();
|
JsonObject address = result.getAsJsonObject();
|
||||||
@ -908,6 +911,7 @@ class Chromium extends Extract {
|
|||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
if (!context.dataSourceIngestIsCancelled()) {
|
if (!context.dataSourceIngestIsCancelled()) {
|
||||||
postArtifacts(bbartifacts);
|
postArtifacts(bbartifacts);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user