Checks for user input in send_file()
10 11 12 13 14 15 16 17 18
# File 'lib/brakeman/checks/check_send_file.rb', line 10 def run_check Brakeman.debug "Finding all calls to send_file()" methods = tracker.find_call :target => false, :method => :send_file methods.each do |call| process_result call end end