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

Skip to content

Commit d490ffb

Browse files
committed
Fix for an Issue #259
1 parent bd33128 commit d490ffb

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
@@ -232,7 +232,7 @@ def cleanupPayload(self, payload, origValue=None):
232232
payload = payload.replace(_, randomStr())
233233

234234
if origValue is not None:
235-
payload = payload.replace("[ORIGVALUE]", origValue)
235+
payload = payload.replace("[ORIGVALUE]", origValue if origValue.isdigit() else "'%s'" % origValue)
236236

237237
if "[INFERENCE]" in payload:
238238
if Backend.getIdentifiedDbms() is not None:

0 commit comments

Comments
 (0)