mirror of
https://github.com/domainaware/parsedmarc.git
synced 2026-08-18 13:13:30 +00:00
4.3.2 release
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
4.3.2
|
||||
-----
|
||||
|
||||
- Fix normalization of the forensic sample from address
|
||||
|
||||
4.3.1
|
||||
-----
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
import platform
|
||||
|
||||
__version__ = "4.3.1"
|
||||
__version__ = "4.3.2"
|
||||
|
||||
USER_AGENT = "Mozilla/5.0 ((0 {1})) parsedmarc/{2}".format(
|
||||
platform.system(),
|
||||
|
||||
+2
-2
@@ -410,8 +410,8 @@ def parse_email(data):
|
||||
else:
|
||||
parsed_email["from"] = None
|
||||
|
||||
if parsed_email["from"] is not None:
|
||||
parsed_email["from"] = parse_email_address(parsed_email["from"][0])
|
||||
if parsed_email["from"] is not None:
|
||||
parsed_email["from"] = parse_email_address(parsed_email["from"][0])
|
||||
|
||||
if "date" in parsed_email:
|
||||
parsed_email["date"] = parsed_email["date"].replace("T", " ")
|
||||
|
||||
Reference in New Issue
Block a user