Minor patch

This commit is contained in:
Miroslav Stampar
2016-06-26 01:10:47 +02:00
parent a4b60dc00f
commit 0a9d69a7d0
2 changed files with 2 additions and 2 deletions

View File

@@ -939,7 +939,7 @@ def heuristicCheckSqlInjection(place, parameter):
infoMsg += "'%s' might " % parameter
def _(page):
return any(_ in (page or "") for _ in FORMAT_EXCEPTION_STRINGS)
return re.search("(?i)sql", page or "") is None and any(_ in (page or "") for _ in FORMAT_EXCEPTION_STRINGS)
casting = _(page) and not _(kb.originalPage)