Skip to content

Commit 0de5c4e

Browse files
committed
Removing a line that causes false negatives on /.well-known/security.txt
1 parent 7ca22da commit 0de5c4e

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

api/security-txt.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,6 @@ const securityTxtHandler = async (urlParam) => {
5353
for (let path of SECURITY_TXT_PATHS) {
5454
try {
5555
const result = await fetchSecurityTxt(url, path);
56-
if (result && result.includes('<html')) return { isPresent: false };
5756
if (result) {
5857
return {
5958
isPresent: true,

0 commit comments

Comments
 (0)