mirror of
https://github.com/NuSkooler/enigma-bbs.git
synced 2025-06-11 23:24:43 +02:00
Fix bug with quote escaping in DB sanatizeString()
This commit is contained in:
parent
83dd440219
commit
70ce81c01a
1 changed files with 2 additions and 0 deletions
|
@ -72,6 +72,8 @@ function sanatizeString(s) {
|
|||
|
||||
case '"' :
|
||||
case '\'' :
|
||||
return `${c}${c}`;
|
||||
|
||||
case '\\' :
|
||||
case '%' :
|
||||
return `\\${c}`;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue