Revert of last commit

This commit is contained in:
Miroslav Stampar
2016-06-26 01:42:21 +02:00
parent 0a9d69a7d0
commit 8b4367d354
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 re.search("(?i)sql", page or "") is None and any(_ in (page or "") for _ in FORMAT_EXCEPTION_STRINGS)
return any(_ in (page or "") for _ in FORMAT_EXCEPTION_STRINGS)
casting = _(page) and not _(kb.originalPage)