mirror of
https://github.com/github/codeql.git
synced 2026-05-01 03:35:13 +02:00
Refactor UnicodeBypassValidationQuery to remove unnecessary code
This commit is contained in:
@@ -100,8 +100,7 @@ private module UnicodeBypassValidationConfig implements DataFlow::StateConfigSig
|
||||
"partition", "prepend", "replace", "rpartition", "scan", "split", "undump",
|
||||
"unpack" + ["", "1"]
|
||||
] and
|
||||
source = cn and
|
||||
source.getLocation().getFile().getBaseName().matches("object.rb")
|
||||
source = cn
|
||||
)
|
||||
or
|
||||
exists(DataFlow::CallNode cn |
|
||||
|
||||
Reference in New Issue
Block a user