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

Skip to content

Commit 28cd50b

Browse files
committed
Patch for an Issue #490
1 parent e6f71c2 commit 28cd50b

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

252252
if origValue is not None:
253-
payload = payload.replace("[ORIGVALUE]", origValue if origValue.isdigit() else "'%s'" % origValue)
253+
payload = payload.replace("[ORIGVALUE]", origValue if origValue.isdigit() else unescaper.escape("'%s'" % origValue))
254254

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

0 commit comments

Comments
 (0)