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)

This commit is contained in:
Miroslav Stampar 2011-08-02 18:20:21 +00:00
parent 07c3d4fb18
commit 07afcd5440

View File

@ -219,7 +219,7 @@ def checkSqlInjection(place, parameter, value):
Backend.forceDbms(dbms[0] if isinstance(dbms, list) else dbms)
# Parse test's <request>
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: