This commit is contained in:
Miroslav Stampar
2017-09-17 23:56:48 +02:00
parent 24c261d630
commit 35ba94b3a9
3 changed files with 4 additions and 4 deletions

View File

@@ -121,7 +121,7 @@ class Agent(object):
paramString = origValue
origValue = origValue.split(kb.customInjectionMark)[0]
origValue = origValue[origValue.find(',') + 1:]
match = re.search(r"([^;]+)=(?P<value>[^;]+);?\Z", origValue)
match = re.search(r"([^;]+)=(?P<value>[^;]*);?\Z", origValue)
if match:
origValue = match.group("value")
elif ',' in paramString: