Skip to content

Commit 2793d81

Browse files
chore: add sql to denied names (#1293)
1 parent c8c8b03 commit 2793d81

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/validator.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ use crate::utils::human_size::bytes_to_human_size;
2525

2626
// Add more sql keywords here in lower case
2727
const DENIED_NAMES: &[&str] = &[
28-
"select", "from", "where", "group", "by", "order", "limit", "offset", "join", "and",
28+
"select", "from", "where", "group", "by", "order", "limit", "offset", "join", "and", "sql",
2929
];
3030

3131
const ALLOWED_SPECIAL_CHARS: &[char] = &['-', '_'];

0 commit comments

Comments
 (0)