Trivial patch

This commit is contained in:
Miroslav Stampar
2019-11-11 12:43:45 +01:00
parent 5f3b397882
commit 39ca71619c
3 changed files with 5 additions and 2 deletions

View File

@@ -4476,6 +4476,9 @@ def findPageForms(content, url, raise_=False, addToTargets=False):
# flag to know if we are dealing with the same target host
_ = checkSameHost(response.geturl(), url)
if data:
data = data.lstrip("&=").rstrip('&')
if conf.scope:
if not re.search(conf.scope, url, re.I):
continue