Skip to content

Commit 9e63a3d

Browse files
Fixing a couple of bug from PR comments
1 parent 1bfe335 commit 9e63a3d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ class TokenValidationParametersPropertySensitiveValidation extends Property {
2323
*/
2424
class FalseValueFlowsToTokenValidationParametersPropertyWriteToBypassValidation extends DataFlow::Configuration {
2525
FalseValueFlowsToTokenValidationParametersPropertyWriteToBypassValidation() {
26-
this = "FlowsToTokenValidationResultIsValidCall"
26+
this = "FalseValueFlowsToTokenValidationParametersPropertyWriteToBypassValidation"
2727
}
2828

2929
override predicate isSource(DataFlow::Node source) {
@@ -75,7 +75,7 @@ class JsonWebTokenHandlerValidateTokenCall extends MethodCall {
7575
*/
7676
private class TokenValidationResultIsValidCall extends PropertyRead {
7777
TokenValidationResultIsValidCall() {
78-
exists(Property p | p.getAnAccess().(PropertyRead) = this |
78+
exists(Property p | p.getAnAccess() = this |
7979
p.hasName("IsValid") or
8080
p.hasName("Exception")
8181
)

0 commit comments

Comments
 (0)