mirror of
https://github.com/alibaba/druid.git
synced 2023-03-04 19:17:16 +00:00
sqll wall improved oracle support, fix #4103
This commit is contained in:
@@ -2724,6 +2724,12 @@ public class WallVisitorUtils {
|
||||
}
|
||||
}
|
||||
|
||||
if ((!isWhite) && visitor.getDbType() == DbType.oracle) {
|
||||
if (text.startsWith("+")) {
|
||||
isWhite = true;
|
||||
}
|
||||
}
|
||||
|
||||
if (!isWhite) {
|
||||
addViolation(visitor, ErrorCode.EVIL_HINTS, "hint not allow", x);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user