mirror of
https://github.com/domainaware/parsedmarc.git
synced 2026-03-20 13:35:59 +00:00
Fix crash when Arrival-Date header is missing in a forensic report
This commit is contained in:
@@ -7,6 +7,8 @@
|
||||
as `text` instead of `long` (Closes issue #31)
|
||||
- Bugfix: IDLE email processing in Gmail/G-Suite accounts (closes issue #33)
|
||||
- Bugfix: Fix inaccurate DNS timeout in CLI documentation (closes issue #34)
|
||||
- Bugfix: Crash when `Arrival-Date` header is missing in a
|
||||
forensic/fialure/ruf report
|
||||
- IMAP reliability improvements
|
||||
- Save data in separate indexes each day to make managing data retention easier
|
||||
- Cache DNS queries in memory
|
||||
|
||||
@@ -527,7 +527,7 @@ def parse_forensic_report(feedback_report, sample, msg_date,
|
||||
parsed_report[key] = report_value[1]
|
||||
|
||||
if "arrival_date" not in parsed_report:
|
||||
parsed_report["arrival_date"] = msg_date
|
||||
parsed_report["arrival_date"] = msg_date.isoformat()
|
||||
|
||||
if "version" not in parsed_report:
|
||||
parsed_report["version"] = 1
|
||||
|
||||
Reference in New Issue
Block a user