Updates
This commit is contained in:
+1
-1
@@ -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" };
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user