We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 44cc514 commit e82565fCopy full SHA for e82565f
1 file changed
java/ql/src/experimental/Security/CWE/CWE-094/SpringImplicitViewManipulation.ql
@@ -43,7 +43,7 @@ deprecated private predicate mayBeExploitable(Method m) {
43
// hence, here we check for the param type to be a Java `String`.
44
p.getType() instanceof TypeString and
45
// Exclude cases where a regex check is applied on a parameter to prevent false positives.
46
- not m.(SpringRequestMappingMethod).getValue().matches("%{%:[%]%}%")
+ not m.(SpringRequestMappingMethod).getAValue().matches("%{%:[%]%}%")
47
) and
48
not maybeATestMethod(m)
49
}
0 commit comments