Skip to content

Commit 6070e4f

Browse files
Update csharp/ql/src/experimental/Security Features/JsonWebTokenHandler/JsonWebTokenHandlerLib.qll
Co-authored-by: Tom Hvitved <hvitved@github.com>
1 parent 5a7b653 commit 6070e4f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

csharp/ql/src/experimental/Security Features/JsonWebTokenHandler/JsonWebTokenHandlerLib.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ class JsonWebTokenHandlerValidateTokenMethod extends Method {
7676
*/
7777
class JsonWebTokenHandlerValidateTokenCall extends MethodCall {
7878
JsonWebTokenHandlerValidateTokenCall() {
79-
exists(JsonWebTokenHandlerValidateTokenMethod m | m.getACall() = this)
79+
this.getTarget() instanceof JsonWebTokenHandlerValidateTokenMethod
8080
}
8181
}
8282

0 commit comments

Comments
 (0)