mirror of
https://github.com/NuSkooler/enigma-bbs.git
synced 2025-06-13 16:14:39 +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 '"' :
|
||||||
case '\'' :
|
case '\'' :
|
||||||
|
return `${c}${c}`;
|
||||||
|
|
||||||
case '\\' :
|
case '\\' :
|
||||||
case '%' :
|
case '%' :
|
||||||
return `\\${c}`;
|
return `\\${c}`;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue