From a3b8f9e4cad0a0a8f9c81364891a9d9319ae7a69 Mon Sep 17 00:00:00 2001 From: Nikhil Sinha Date: Thu, 10 Apr 2025 03:39:35 -0400 Subject: [PATCH] add sql to denied names --- src/validator.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/validator.rs b/src/validator.rs index 934b620bb..9dd5b6d0c 100644 --- a/src/validator.rs +++ b/src/validator.rs @@ -25,7 +25,7 @@ use crate::utils::human_size::bytes_to_human_size; // Add more sql keywords here in lower case const DENIED_NAMES: &[&str] = &[ - "select", "from", "where", "group", "by", "order", "limit", "offset", "join", "and", + "select", "from", "where", "group", "by", "order", "limit", "offset", "join", "and", "sql", ]; const ALLOWED_SPECIAL_CHARS: &[char] = &['-', '_'];