This commit is contained in:
Benjamin Toby
2024-12-08 09:57:48 +01:00
parent 8b7ea057d0
commit 86f931fb82
424 changed files with 1638 additions and 1282 deletions
@@ -27,10 +27,9 @@ module.exports = async function apiGet({
}) {
if (
typeof query == "string" &&
(query.match(/^alter|^delete|information_schema|databases|^create/i) ||
!query.match(/^select/i))
query.match(/^alter|^delete|information_schema|databases|^create/i)
) {
return { success: false, msg: "Wrong Input" };
return { success: false, msg: "Wrong Input." };
}
/**