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

string_interp -> check_string_interp in CheckSQL

上级 1c63c28d
......@@ -273,7 +273,7 @@ class Brakeman::CheckSQL < Brakeman::BaseCheck
if node_type? arg, :arglist
if arg.length > 2 and node_type? arg[1], :string_interp, :dstr
# Model.where("blah = ?", blah)
return string_interp arg[1]
return check_string_interp arg[1]
else
arg = arg[1]
end
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册