Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6afc9bf commit 3869cceCopy full SHA for 3869cce
1 file changed
lib/core/agent.py
@@ -637,11 +637,11 @@ def extractPayload(self, inpStr):
637
retVal = None
638
639
if inpStr:
640
- regObj = getCompiledRegex("(?P<result>%s.*?%s)" % (PAYLOAD_DELIMITER, PAYLOAD_DELIMITER))
+ regObj = getCompiledRegex("%s(?P<result>.*?)%s" % (PAYLOAD_DELIMITER, PAYLOAD_DELIMITER))
641
match = regObj.search(inpStr)
642
643
if match:
644
- retVal = match.group("result")[1:-1]
+ retVal = match.group("result")
645
646
return retVal
647
0 commit comments