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

Skip Rails config settings with actual objects

instead of the hash we are trying to make
fixes #324
上级 f953e086
......@@ -72,6 +72,14 @@ class Brakeman::Rails3ConfigProcessor < Brakeman::BaseProcessor
level = @tracker.config[:rails]
options[0..-2].each do |o|
level[o] ||= {}
option = level[o]
if not option.is_a? Hash
Brakeman.debug "[Notice] Skipping config setting: #{options.map(&:to_s).join(".")}"
return exp
end
level = level[o]
end
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册