This commit is contained in:
Miroslav Stampar
2017-11-13 14:07:12 +01:00
parent 26b81f58bb
commit 323f1285b6
3 changed files with 8 additions and 3 deletions

View File

@@ -796,6 +796,8 @@ class Connect(object):
raise404 = place != PLACE.URI if raise404 is None else raise404
method = method or conf.method
pushValue(kb.postUrlEncode)
value = agent.adjustLateValues(value)
payload = agent.extractPayload(value)
threadData = getCurrentThreadData()
@@ -862,6 +864,7 @@ class Connect(object):
if not skip:
payload = urlencode(payload, '%', False, place != PLACE.URI) # spaceplus is handled down below
value = agent.replacePayload(value, payload)
kb.postUrlEncode = False
if conf.hpp:
if not any(conf.url.lower().endswith(_.lower()) for _ in (WEB_API.ASP, WEB_API.ASPX)):
@@ -1245,6 +1248,8 @@ class Connect(object):
kb.originalCode = kb.originalCode or code
kb.postUrlEncode = popValue()
if kb.testMode:
kb.testQueryCount += 1