Fix for a 'no parameter found' problem when user says N on 'custom injection mark found in POST...'

This commit is contained in:
Miroslav Stampar 2013-01-22 14:08:19 +01:00
parent 59b02539ca
commit 15b0ab1b44

View File

@ -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()