Removing a line that causes false negatives on /.well-known/security.txt

This commit is contained in:
Samuel Aubert 2024-10-17 11:40:52 -04:00
parent 7ca22daa9a
commit 0de5c4e37f

View File

@ -53,7 +53,6 @@ const securityTxtHandler = async (urlParam) => {
for (let path of SECURITY_TXT_PATHS) {
try {
const result = await fetchSecurityTxt(url, path);
if (result && result.includes('<html')) return { isPresent: false };
if (result) {
return {
isPresent: true,