Update for an Issue #169

This commit is contained in:
Miroslav Stampar 2013-01-09 15:58:13 +01:00
parent 25f01a419f
commit 9bdcb1176d

View File

@ -580,9 +580,13 @@ def _findPageForms():
page, _ = Request.queryPage(content=True)
findPageForms(page, conf.url, True, True)
else:
for target, _, _, _ in kb.targets[:]:
page, _, _= Request.getPage(url=target, crawling=True, raise404=False)
findPageForms(page, target, False, True)
for target in getFileItems(conf.bulkFile):
try:
page, _, _= Request.getPage(url=target.strip(), crawling=True, raise404=False)
findPageForms(page, target, False, True)
except Exception, ex:
errMsg = "problem occured while searching for forms at '%s' ('%s')" % (target, ex)
logger.error(errMsg)
def _setDBMSAuthentication():
"""