mirror of
https://github.com/github/codeql.git
synced 2026-05-05 13:45:19 +02:00
Fix SensitiveResultReceiver test case
This commit is contained in:
@@ -14,8 +14,8 @@ class ResultReceiverTest extends InlineExpectationsTest {
|
||||
override string getARelevantTag() { result = "hasSensitiveResultReceiver" }
|
||||
|
||||
override predicate hasActualResult(Location loc, string element, string tag, string value) {
|
||||
exists(DataFlow::PathNode sink |
|
||||
sensitiveResultReceiver(_, sink, _) and
|
||||
exists(SensitiveResultReceiverFlow::PathNode sink |
|
||||
isSensitiveResultReceiver(_, sink, _) and
|
||||
element = sink.toString() and
|
||||
loc = sink.getNode().getLocation() and
|
||||
tag = "hasSensitiveResultReceiver" and
|
||||
|
||||
Reference in New Issue
Block a user