From 10ef2b5de8a103e93f0029e293c8b0b1ab1d1bba Mon Sep 17 00:00:00 2001 From: Bernardo Damele Date: Wed, 8 Dec 2010 23:09:42 +0000 Subject: [PATCH] Minor bug 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 b30948050..9ef1cf602 100644 --- a/lib/controller/checks.py +++ b/lib/controller/checks.py @@ -160,7 +160,7 @@ def checkSqlInjection(place, parameter, value): clauseMatch = True break - if clause != [ 0 ] and injection.clause and not clauseMatch: + if clause != [ 0 ] and injection.clause and injection.clause != [ 0 ] and not clauseMatch: debugMsg = "skipping test '%s' because the clauses " % title debugMsg += "differs from the clause already identified" logger.debug(debugMsg)