Sha256: fa227582d427816371e6a822a82bb9c32bd0c8f949c55783230f64933742e8de

Contents?: true

Size: 738 Bytes

Versions: 5

Compression:

Stored size: 738 Bytes

Contents

=begin
    Copyright 2010-2022 Ecsypno <http://www.ecsypno.com>

    This file is part of the Arachni Framework project and is subject to
    redistribution and commercial restrictions. Please see the Arachni Framework
    web site for more information on licensing and terms of use.
=end

module Arachni::Element
class Header
module Capabilities

# Extends {Arachni::Element::Capabilities::Inputtable} with {Header}-specific
# functionality.
#
# @author Tasos "Zapotek" Laskos <tasos.laskos@arachni-scanner.com>
module Inputtable
    include Arachni::Element::Capabilities::Inputtable

    INVALID_INPUT_DATA = [ "\0" ]

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

end
end
end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
arachni-1.6.1.3 lib/arachni/element/header/capabilities/inputtable.rb
arachni-1.6.1.2 lib/arachni/element/header/capabilities/inputtable.rb
arachni-1.6.1.1 lib/arachni/element/header/capabilities/inputtable.rb
arachni-1.6.1 lib/arachni/element/header/capabilities/inputtable.rb
arachni-1.6.0 lib/arachni/element/header/capabilities/inputtable.rb