mirror of
https://github.com/Lissy93/web-check.git
synced 2025-05-29 22:49:03 +02:00
Removing a line that causes false negatives on /.well-known/security.txt
This commit is contained in:
parent
7ca22daa9a
commit
0de5c4e37f
@ -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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user