This commit is contained in:
Miroslav Stampar
2016-07-16 22:42:15 +02:00
parent 1e6191e3b1
commit 7fea8d608e
2 changed files with 2 additions and 2 deletions

View File

@@ -120,7 +120,7 @@ class Agent(object):
elif place == PLACE.CUSTOM_HEADER:
paramString = origValue
origValue = origValue.split(CUSTOM_INJECTION_MARK_CHAR)[0]
origValue = origValue[origValue.index(',') + 1:]
origValue = origValue[origValue.find(',') + 1:]
match = re.search(r"([^;]+)=(?P<value>[^;]+);?\Z", origValue)
if match:
origValue = match.group("value")