# File lib/brakeman/checks/check_cross_site_scripting.rb, line 37 def run_check setup tracker.each_template do |name, template| Brakeman.debug "Checking #{name} for XSS" @current_template = template template.each_output do |out| unless check_for_immediate_xss out @matched = false @mark = false process out end end end end