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 f19a5a9 commit 0597b2eCopy full SHA for 0597b2e
ruby/ql/src/queries/security/cwe-352/CSRFProtectionNotEnabled.ql
@@ -44,6 +44,6 @@ where
44
(
45
railsPreVersion3()
46
or
47
- not any(MethodCall m).getMethodName() = "csrf_meta_tags"
+ not any(MethodCall m).getMethodName() = ["csrf_meta_tags", "csrf_meta_tag"]
48
)
49
select c, "Potential CSRF vulnerability due to forgery protection not being enabled."
0 commit comments