mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-06 21:00:22 +00:00
Use the last end parentheses in normalize_db_entry instead of the first occurrence.
Fixes bug for file names containing parentheses.
This commit is contained in:
parent
4a3242f92f
commit
efdbc58501
@ -357,7 +357,7 @@ def normalize_db_entry(line, table):
|
||||
layout_index = line.find('INSERT INTO "tsk_file_layout"')
|
||||
data_source_info_index = line.find('INSERT INTO "data_source_info"')
|
||||
ingest_job_index = line.find('INSERT INTO "ingest_jobs"')
|
||||
parens = line[line.find('(') + 1 : line.find(')')]
|
||||
parens = line[line.find('(') + 1 : line.rfind(')')]
|
||||
fields_list = parens.replace(" ", "").split(',')
|
||||
|
||||
# remove object ID
|
||||
|
Loading…
x
Reference in New Issue
Block a user