We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c0d6438 commit 8e0f056Copy full SHA for 8e0f056
insight
357 KB
internal/common/utils.go
@@ -49,7 +49,7 @@ var allowedFunctions = map[string]struct{}{
49
}
50
51
var disallowedPatterns = []string{
52
- `(?i)\b(UNION|INSERT|DELETE|UPDATE|DROP|CREATE|ALTER|TRUNCATE|EXEC|;|--)`,
+ `(?i)\b(INSERT|DELETE|UPDATE|DROP|CREATE|ALTER|TRUNCATE|EXEC|;|--)`,
53
54
55
// ValidateQuery checks the query for disallowed patterns and ensures only allowed functions are used.
0 commit comments