more general approach

This commit is contained in:
Miroslav Stampar
2011-07-08 10:03:14 +00:00
parent 5443e06430
commit 02bfd05b20
2 changed files with 5 additions and 3 deletions

View File

@@ -529,7 +529,7 @@ class Connect:
# throughly without safe chars (especially & and =)
# addendum: as we support url encoding in tampering
# functions therefore we need to use % as a safe char
payload = urlencode(payload, "%", False, True, not kb.tamperFunctions)
payload = urlencode(payload, "%", False, True)
value = agent.replacePayload(value, payload)
elif place == PLACE.SOAP:
# payloads in SOAP should have chars > and < replaced