From e33ea7c33ab17a54aaab09f06670170b2cf0c0cc Mon Sep 17 00:00:00 2001 From: Miroslav Stampar Date: Tue, 10 Apr 2012 22:29:39 +0000 Subject: [PATCH] minor fix --- lib/controller/checks.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/controller/checks.py b/lib/controller/checks.py index 39ad8c6bf..7150d0069 100644 --- a/lib/controller/checks.py +++ b/lib/controller/checks.py @@ -346,7 +346,7 @@ def checkSqlInjection(place, parameter, value): injectable = True - elif not conf.string: + if not injectable and not conf.string: trueSet = set(extractTextTagContent(truePage)) falseSet = set(extractTextTagContent(falsePage)) candidate = reduce(lambda x, y: x or (y.strip() if y.strip() in (kb.pageTemplate or "") else None), (trueSet - falseSet), None)