mirror of
https://github.com/zadam/trilium.git
synced 2025-11-02 03:16:11 +01:00
sync recovery fixes
This commit is contained in:
@@ -54,7 +54,7 @@ function sanitizeSql(str) {
|
||||
}
|
||||
|
||||
function sanitizeSqlIdentifier(str) {
|
||||
return str.replace(/[A-Za-z0-9_]/g, "");
|
||||
return str.replace(/[^A-Za-z0-9_]/g, "");
|
||||
}
|
||||
|
||||
function prepareSqlForLike(prefix, str, suffix) {
|
||||
|
||||
Reference in New Issue
Block a user