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

Reduce SQL injection duplicates

上级 ab26da7d
......@@ -44,8 +44,8 @@ class Brakeman::CheckSQL < Brakeman::BaseCheck
failed = (args.length > 1 and check_arguments args[-1])
end
if failed and not duplicate? call, exp[1]
add_result call, exp[1]
if failed and not exp[-1].original_line and not duplicate? exp
add_result exp
if include_user_input? args[-1]
confidence = CONFIDENCE[:high]
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册