mirror of
https://github.com/domainaware/parsedmarc.git
synced 2026-05-21 03:15:24 +00:00
3.8.0 - Allow forensic to header to be missing
This commit is contained in:
@@ -792,8 +792,12 @@ def parse_forensic_report(feedback_report, sample, sample_headers_only,
|
||||
else:
|
||||
parsed_sample["reply_to"] = []
|
||||
|
||||
parsed_sample["to"] = list(map(lambda x: convert_address(x),
|
||||
parsed_sample["to"]))
|
||||
if "to" in parsed_sample:
|
||||
parsed_sample["to"] = list(map(lambda x: convert_address(x),
|
||||
parsed_sample["to"]))
|
||||
else:
|
||||
parsed_sample["to"] = []
|
||||
|
||||
if "cc" in parsed_sample:
|
||||
parsed_sample["cc"] = list(map(lambda x: convert_address(x),
|
||||
parsed_sample["cc"]))
|
||||
|
||||
Reference in New Issue
Block a user