Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 1e8349e

Browse files
committed
Minor fix
1 parent 78ab525 commit 1e8349e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/core/agent.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ def payload(self, place=None, parameter=None, value=None, newValue=None, where=N
103103
elif kb.postHint == POST_HINT.JSON_LIKE:
104104
origValue = extractRegexResult(r'(?s)\'\s*:\s*(?P<result>\d+\Z)', origValue) or extractRegexResult(r"(?s)(?P<result>[^']+\Z)", origValue)
105105
else:
106-
_ = extractRegexResult(r"(?s)(?P<result>[^\s<>{}();'\"]+\Z)", origValue) or ""
106+
_ = extractRegexResult(r"(?s)(?P<result>[^\s<>{}();'\"&]+\Z)", origValue) or ""
107107
origValue = _.split('=', 1)[1] if '=' in _ else ""
108108
elif place == PLACE.CUSTOM_HEADER:
109109
paramString = origValue

0 commit comments

Comments
 (0)