This commit is contained in:
Mariusz B. / mgeeky 2021-12-13 19:38:38 +01:00
parent 02fb5aafe3
commit 68a31e2540
1 changed files with 3 additions and 3 deletions

View File

@ -1778,10 +1778,10 @@ class SMTPHeadersAnalysis:
try:
out = base64.b64decode(value)
except:
try:
out = base64.b64decode(value + b'=' * (-len(value) % 4))
try:
out = base64.b64decode(value + b'=' * (-len(value) % 4))
except:
out = value
out = value
if enc:
out = out.decode(errors = 'ignore')