Fix bug with quote escaping in DB sanatizeString()

This commit is contained in:
Bryan Ashby 2018-06-01 20:15:47 -06:00
parent 83dd440219
commit 70ce81c01a
1 changed files with 2 additions and 0 deletions

View File

@ -72,6 +72,8 @@ function sanatizeString(s) {
case '"' : case '"' :
case '\'' : case '\'' :
return `${c}${c}`;
case '\\' : case '\\' :
case '%' : case '%' :
return `\\${c}`; return `\\${c}`;