mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-06-24 18:45:46 +00:00
Minor patch
This commit is contained in:
parent
a90324d592
commit
7eb7bddb25
3 changed files with 4 additions and 4 deletions
|
|
@ -4422,8 +4422,8 @@ def findPageForms(content, url, raise_=False, addToTargets=False):
|
|||
forms = ParseResponse(response, backwards_compat=False)
|
||||
except ParseError:
|
||||
if re.search(r"(?i)<!DOCTYPE html|<html", content or ""):
|
||||
warnMsg = "badly formed HTML at the given URL ('%s'). Going to filter it" % url
|
||||
logger.warning(warnMsg)
|
||||
dbgMsg = "badly formed HTML at the given URL ('%s'). Going to filter it" % url
|
||||
logger.debug(dbgMsg)
|
||||
filtered = _("".join(re.findall(FORM_SEARCH_REGEX, content)), url)
|
||||
|
||||
if filtered and filtered != content:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue