Sha256: a2aee26f7f39c695a5cd5b5f53e26868419906d3b116375c65058920cc7e79f5
Contents?: true
Size: 511 Bytes
Versions: 2
Compression:
Stored size: 511 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.8 | lib/railroader/checks/check_send_file.rb |
railroader-4.3.7 | lib/railroader/checks/check_send_file.rb |