reports/plugin_formatters/xml/uniformity.rb in arachni-0.4.4 vs reports/plugin_formatters/xml/uniformity.rb in arachni-0.4.5

- old
+ new

@@ -24,20 +24,21 @@ class PluginFormatters::Uniformity < Arachni::Plugin::Formatter include Buffer def run uniformals = results['uniformals'] - pages = results['pages'] uniformals.each do |id, uniformal| start_uniformals id uniformal['hashes'].each_with_index do |hash, i| add_uniformal( i, uniformal ) end end_tag 'uniformals' end + + buffer end def add_uniformal( idx, uniformal ) append "<issue index=\"#{uniformal['indices'][idx]}\"" + " hash=\"#{uniformal['hashes'][idx]}\" />"