Skip to content

Commit

Permalink
Fix #1123 - Incorrect handling of invalid utf-8 in sectxt
Browse files Browse the repository at this point in the history
  • Loading branch information
mxsasha committed Nov 1, 2023
1 parent c81190c commit 433239b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions checks/tasks/securitytxt.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ def _retrieve_securitytxt(af_ip_pair, hostname: str, task: SetupUnboundContext)
content=None,
url=f"https://{hostname}{path}",
found_host=found_host,
found_url=None,
errors=[{"msgid": "utf8"}],
)
except requests.RequestException:
Expand Down

0 comments on commit 433239b

Please sign in to comment.