This commit is contained in:
Benjamin Toby
2024-11-18 10:25:28 +01:00
parent 7ffa5c0da5
commit aaa604c66b
7 changed files with 47 additions and 112 deletions
+1 -1
View File
@@ -51,7 +51,7 @@ async function localGet({ options, dbSchema }) {
(query.match(
/^alter|^delete|information_schema|databases|^create/i
) ||
!query.match(/^select/i))
!query.match(/^select|^\( ?select/i))
) {
return { success: false, msg: "Wrong Input" };
}