We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3b6de42 commit 5d56693Copy full SHA for 5d56693
1 file changed
db/executor.py
@@ -141,7 +141,7 @@ def validate(self, sql: str) -> list[str]:
141
# Check for SQL injection patterns
142
for pattern in INJECTION_PATTERNS:
143
if re.search(pattern, sql_upper):
144
- errors.append(f"Potential SQL injection pattern detected")
+ errors.append("Potential SQL injection pattern detected")
145
break
146
147
return errors
0 commit comments