提交 a5ba2816 编写于 作者: J Justin Collins

Merge branch 'master' of github.com:presidentbeef/brakeman

......@@ -15,7 +15,7 @@ class Brakeman::CheckForgerySetting < Brakeman::BaseCheck
tracker.config[:rails][:action_controller][:allow_forgery_protection] == Sexp.new(:false)
warn :controller => :ApplicationController,
:warning_type => "Cross Site Request Forgery",
:warning_type => "Cross-Site Request Forgery",
:message => "Forgery protection is disabled",
:confidence => CONFIDENCE[:high]
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册