Skip to content

Commit 433239b

Browse files
committed
Fix #1123 - Incorrect handling of invalid utf-8 in sectxt
1 parent c81190c commit 433239b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

checks/tasks/securitytxt.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ def _retrieve_securitytxt(af_ip_pair, hostname: str, task: SetupUnboundContext)
5757
content=None,
5858
url=f"https://{hostname}{path}",
5959
found_host=found_host,
60+
found_url=None,
6061
errors=[{"msgid": "utf8"}],
6162
)
6263
except requests.RequestException:

0 commit comments

Comments
 (0)