Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 10ef2b5

Browse files
committed
Minor bug fix
1 parent 54f6673 commit 10ef2b5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/controller/checks.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ def checkSqlInjection(place, parameter, value):
160160
clauseMatch = True
161161
break
162162

163-
if clause != [ 0 ] and injection.clause and not clauseMatch:
163+
if clause != [ 0 ] and injection.clause and injection.clause != [ 0 ] and not clauseMatch:
164164
debugMsg = "skipping test '%s' because the clauses " % title
165165
debugMsg += "differs from the clause already identified"
166166
logger.debug(debugMsg)

0 commit comments

Comments
 (0)