minor update

This commit is contained in:
Miroslav Stampar 2012-03-05 09:42:52 +00:00
parent ac5a752b12
commit 0ead1fd87e

View File

@ -571,7 +571,14 @@ def heuristicCheckSqlInjection(place, parameter):
debugMsg = "heuristic checking skipped " debugMsg = "heuristic checking skipped "
debugMsg += "because NULL connection used" debugMsg += "because NULL connection used"
logger.debug(debugMsg) logger.debug(debugMsg)
return return None
if wasLastRequestDBMSError():
debugMsg = "heuristic checking skipped "
debugMsg += "because original page content "
debugMsg += "contains DBMS error"
logger.debug(debugMsg)
return None
prefix = "" prefix = ""
suffix = "" suffix = ""