Refactor JexlInjection

This commit is contained in:
Ed Minnix
2023-03-21 17:28:55 -04:00
parent 7ee6c06f7f
commit 8bf3315bb5
3 changed files with 35 additions and 14 deletions

View File

@@ -9,7 +9,7 @@ class JexlInjectionTest extends InlineExpectationsTest {
override predicate hasActualResult(Location location, string element, string tag, string value) {
tag = "hasJexlInjection" and
exists(DataFlow::Node sink, JexlInjectionConfig conf | conf.hasFlowTo(sink) |
exists(DataFlow::Node sink | JexlInjectionFlow::hasFlowTo(sink) |
sink.getLocation() = location and
element = sink.toString() and
value = ""