Update related to the last commit

This commit is contained in:
stamparm 2013-03-26 15:36:44 +01:00
parent 2fe6aea0eb
commit eb1bfc20cb

View File

@ -136,6 +136,10 @@ def _setRequestParams():
conf.data = re.sub(r"(?si)(Content-Disposition.+?)((\r)?\n--)", r"\g<1>%s\g<2>" % CUSTOM_INJECTION_MARK_CHAR, conf.data)
kb.postHint = POST_HINT.MULTIPART
if kb.postHint:
if CUSTOM_INJECTION_MARK_CHAR not in conf.data: # in case that no usable parameter values has been found
kb.postHint = None
if not kb.postHint:
if CUSTOM_INJECTION_MARK_CHAR in conf.data: # later processed
pass