Module: Arachni::Element::Header::Capabilities::Inputtable

Includes:
Capabilities::Inputtable
Defined in:
lib/arachni/element/header/capabilities/inputtable.rb

Overview

Extends Capabilities::Inputtable with Arachni::Element::Header-specific functionality.

Author:

Constant Summary collapse

INVALID_INPUT_DATA =
[ "\0" ]

Constants included from Capabilities::Inputtable

Capabilities::Inputtable::INPUTTABLE_CACHE

Instance Attribute Summary

Attributes included from Capabilities::Inputtable

#default_inputs, #inputs, #raw_inputs

Instance Method Summary collapse

Methods included from Capabilities::Inputtable

#[], #[]=, #changes, #dup, #has_inputs?, #initialize, inputtable_id, #inputtable_id, #raw_input?, #reset, #to_h, #try_input, #update, #updated?, #valid_input_name?, #valid_input_name_data?, #valid_input_value?, #valid_input_value_data?

Instance Method Details

#valid_input_data?(data) ⇒ Boolean

Returns:

  • (Boolean)

22
23
24
# File 'lib/arachni/element/header/capabilities/inputtable.rb', line 22

def valid_input_data?( data )
    !INVALID_INPUT_DATA.find { |c| data.include? c }
end