Skip to content

Commit

Permalink
internetstandards#881 check for lowercase magic string
Browse files Browse the repository at this point in the history
  • Loading branch information
uwekamper committed Feb 12, 2024
1 parent b1575a0 commit 3e1258c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion checks/tasks/mail.py
Original file line number Diff line number Diff line change
Expand Up @@ -861,7 +861,7 @@ def tlsrpt_callback(data, status, r):
score = scoring.MAIL_AUTH_TLSRPT_FAIL
for d in r.data.data:
txt = as_txt(d)
if txt.lower().startswith("v=TLSRPTv1"):
if txt.lower().startswith("v=tlsrptv1"):
record.append(txt)
if available:
# We see more than one TLSRPT record. Fail the test.
Expand Down

0 comments on commit 3e1258c

Please sign in to comment.