lib/arachni/report.rb in arachni-1.0 vs lib/arachni/report.rb in arachni-1.0.1
- old
+ new
@@ -243,10 +243,10 @@
data['issues'] = data['issues'].map { |i| Arachni::Issue.from_rpc_data( i ) }
data['plugins'] = data['plugins'].inject({}) do |h, (k, v)|
k = k.to_sym
- h[k] = v.symbolize_keys(false)
+ h[k] = v.my_symbolize_keys(false)
next h if !h[k][:options]
h[k][:options] = v['options'].map do |option|
klass = option['class'].split( '::' ).last.to_sym
Component::Options.const_get( klass ).from_rpc_data( option )