From 07afcd5440c2f4bb550e4bceff8b512c517190d7 Mon Sep 17 00:00:00 2001 From: Miroslav Stampar Date: Tue, 2 Aug 2011 18:20:21 +0000 Subject: [PATCH] fix for a bug reported by Ahmed Shawky (when user uses --suffix intermixing test default comments with the provided suffix is a big no no) --- 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 75e1d3054..d0a0e9c2e 100644 --- a/lib/controller/checks.py +++ b/lib/controller/checks.py @@ -219,7 +219,7 @@ def checkSqlInjection(place, parameter, value): Backend.forceDbms(dbms[0] if isinstance(dbms, list) else dbms) # Parse test's - comment = agent.getComment(test.request) + comment = agent.getComment(test.request) if len(conf.boundaries) > 1 else None fstPayload = agent.cleanupPayload(test.request.payload, origValue=value) for boundary in conf.boundaries: