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 '"' :
|
||||||
case '\'' :
|
case '\'' :
|
||||||
|
return `${c}${c}`;
|
||||||
|
|
||||||
case '\\' :
|
case '\\' :
|
||||||
case '%' :
|
case '%' :
|
||||||
return `\\${c}`;
|
return `\\${c}`;
|
||||||
|
|
Loading…
Reference in New Issue