mirror of
https://github.com/alibaba/druid.git
synced 2023-03-04 19:17:16 +00:00
improve sqlwall
This commit is contained in:
@@ -477,6 +477,8 @@ public class MySqlWallVisitor extends MySqlASTVisitorAdapter implements WallVisi
|
||||
case '|':
|
||||
case '^':
|
||||
case '\n':
|
||||
case '.':
|
||||
case '(':
|
||||
addViolation(new IllegalSQLObjectViolation(ErrorCode.EVIL_HINTS, "evil hints",
|
||||
SQLUtils.toMySqlString(x)));
|
||||
default:
|
||||
|
||||
Reference in New Issue
Block a user