Fix bug with quote escaping in DB sanatizeString()
This commit is contained in:
parent
83dd440219
commit
70ce81c01a
|
@ -72,6 +72,8 @@ function sanatizeString(s) {
|
|||
|
||||
case '"' :
|
||||
case '\'' :
|
||||
return `${c}${c}`;
|
||||
|
||||
case '\\' :
|
||||
case '%' :
|
||||
return `\\${c}`;
|
||||
|
|
Loading…
Reference in New Issue