Sha256: 659100ecea0c5a0f7db3894be55c371078c34f85cd89d4041b571a7cc4601dc5
Contents?: true
Size: 510 Bytes
Versions: 2
Compression:
Stored size: 510 Bytes
Contents
require 'railroader/checks/check_file_access' require 'railroader/processors/lib/processor_helper' #Checks for user input in send_file() class Railroader::CheckSendFile < Railroader::CheckFileAccess Railroader::Checks.add self @description = "Check for user input in uses of send_file" def run_check Railroader.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 end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
railroader-4.3.5 | lib/railroader/checks/check_send_file.rb |
railroader-4.3.4 | lib/railroader/checks/check_send_file.rb |