Minor update on user's request

This commit is contained in:
Miroslav Stampar 2013-05-30 12:01:13 +02:00
parent 12870e6ff3
commit ed8f16e754
2 changed files with 6 additions and 0 deletions

View File

@ -543,6 +543,9 @@ def paramToDict(place, parameters=None):
if len(parts) >= 2:
parameter = parts[0].replace(" ", "")
if conf.pDel and conf.pDel == '\n':
parts[-1] = parts[-1].rstrip()
condition = not conf.testParameter
condition |= parameter in conf.testParameter
condition |= place == PLACE.COOKIE and len(intersect((PLACE.COOKIE,), conf.testParameter, True)) > 0

View File

@ -1395,6 +1395,9 @@ def _cleanupOptions():
else:
conf.rParam = []
if conf.pDel:
conf.pDel = conf.pDel.decode("string_escape")
if conf.skip:
conf.skip = conf.skip.replace(" ", "")
conf.skip = re.split(PARAMETER_SPLITTING_REGEX, conf.skip)