diff --git a/lib/core/target.py b/lib/core/target.py index eb1115705..b66b7bdee 100644 --- a/lib/core/target.py +++ b/lib/core/target.py @@ -171,6 +171,14 @@ def _setRequestParams(): conf.url = conf.url.split('?')[0] conf.paramDict[PLACE.GET] = paramDict testableParameters = True + elif place == PLACE.CUSTOM_POST: + conf.parameters[PLACE.POST] = conf.data + paramDict = paramToDict(PLACE.POST, conf.data) + + if paramDict: + conf.paramDict[PLACE.POST] = paramDict + testableParameters = True + else: conf.parameters[place] = value conf.paramDict[place] = OrderedDict()