Skip to content

Commit 472a274

Browse files
committed
Merge branch 'develop'
2 parents 5f31f5b + a15f917 commit 472a274

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

acstis/Scanner.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,9 @@ def __is_item_vulnerable(self, queue_item):
117117
except Exception:
118118
return False
119119

120+
if not "html" in queue_item.response.headers.get("content-type"):
121+
return False
122+
120123
if not queue_item.get_soup_response():
121124
return False
122125

0 commit comments

Comments
 (0)