major improvement with display of payloads (all payloads are displayed now) and removal of "pesky" spaces

This commit is contained in:
Miroslav Stampar
2010-11-07 21:18:09 +00:00
parent 620fa1c8fb
commit d3e7e89e60
16 changed files with 35 additions and 42 deletions

View File

@@ -318,6 +318,11 @@ class Connect:
value = agent.replacePayload(value, payload)
payload = agent.extractPayload(value)
if payload:
debugMsg = "payload: %s" % payload
logger.debug(debugMsg)
if place == "Cookie" and conf.cookieUrlencode:
value = agent.removePayloadDelimiters(value, False)
value = urlEncodeCookieValues(value)

View File

@@ -399,9 +399,6 @@ def goStacked(expression, silent=False):
query = agent.prefixQuery("; %s" % expression)
query = agent.postfixQuery("%s;%s" % (query, comment))
debugMsg = "query: %s" % query
logger.debug(debugMsg)
payload = agent.payload(newValue=query)
page, _ = Request.queryPage(payload, content=True, silent=silent)