提交 43ba1dea 编写于 作者: J Justin Collins

Lower confidence on mass assign with no user input

上级 8406b774
......@@ -47,7 +47,7 @@ class Brakeman::CheckMassAssignment < Brakeman::BaseCheck
if include_user_input? call[3] and not hash? call[3][1]
confidence = CONFIDENCE[:high]
else
confidence = CONFIDENCE[:med]
confidence = CONFIDENCE[:low]
end
warn :result => res,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册