diff --git a/lib/request/connect.py b/lib/request/connect.py index 9171ea813..0236386b3 100644 --- a/lib/request/connect.py +++ b/lib/request/connect.py @@ -456,6 +456,11 @@ class Connect: # functions therefore we need to use % as a safe char payload = urlencode(payload, "%", False, True) value = agent.replacePayload(value, payload) + elif place == PLACE.SOAP: + # payloads in SOAP should have chars > and < replaced + # with their HTML encoded counterparts + payload = payload.replace('>', '>').replace('<', '<') + value = agent.replacePayload(value, payload) value = agent.removePayloadDelimiters(value)