|
_cmd_arg = "".join([" --%s '%s'" % (d, str(kwargs[d]).replace("'", r"\'")) for d in kwargs]) |
# text is a double quote character
groonga.call("load", table="Docs", values='[{"_key": "mykey", "text": "\\""}]')
When a double quote character is in values JSON string, it is escaped with a preceding backslash.
This backslash is not properly escaped when quoted in a single quote.
poyonga/poyonga/client.py
Line 25 in 129bd8a
When a double quote character is in
valuesJSON string, it is escaped with a preceding backslash.This backslash is not properly escaped when quoted in a single quote.