This commit is contained in:
Miroslav Stampar
2017-05-01 22:53:12 +02:00
parent ff5a954980
commit 347ce87e27
3 changed files with 4 additions and 3 deletions

View File

@@ -316,6 +316,7 @@ class Agent(object):
payload = payload.replace(_, randomStr())
if origValue is not None and "[ORIGVALUE]" in payload:
origValue = getUnicode(origValue)
payload = getUnicode(payload).replace("[ORIGVALUE]", origValue if origValue.isdigit() else unescaper.escape("'%s'" % origValue))
if "[INFERENCE]" in payload: