minor fix

This commit is contained in:
Miroslav Stampar 2010-10-29 21:19:28 +00:00
parent cbf38436f2
commit 0125198210

View File

@ -627,7 +627,7 @@ class Agent:
regObj = getCompiledRegex("(?P<result>%s.*?%s)" % (PAYLOAD_DELIMITER, PAYLOAD_DELIMITER))
for match in regObj.finditer(inpStr):
retVal = retVal.replace(match.group("result"), urlencode(match.group("result")[1:-1]))
retVal = retVal.replace(match.group("result"), urlencode(match.group("result")[1:-1], convall=True))
else:
retVal = retVal.replace(PAYLOAD_DELIMITER, '')