We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0462425 commit 8173fd0Copy full SHA for 8173fd0
java/ql/lib/semmle/code/java/security/CsrfUnprotectedRequestTypeQuery.qll
@@ -42,10 +42,8 @@ private class SpringCsrfUnprotectedMethod extends CsrfUnprotectedMethod instance
42
private class StaplerCsrfUnprotectedMethod extends CsrfUnprotectedMethod instanceof StaplerWebMethod
43
{
44
StaplerCsrfUnprotectedMethod() {
45
- not (
46
- this.hasAnnotation("org.kohsuke.stapler.interceptor", "RequirePOST") or
47
- this.hasAnnotation("org.kohsuke.stapler.verb", "POST")
48
- )
+ not this.hasAnnotation("org.kohsuke.stapler.interceptor", "RequirePOST") and
+ not this.hasAnnotation("org.kohsuke.stapler.verb", "POST")
49
}
50
51
0 commit comments