Sha256: e634ba07161d9959f04761a902adbe41a3c76e25c4925f308f648a95b59a8491
Contents?: true
Size: 643 Bytes
Versions: 2
Compression:
Stored size: 643 Bytes
Contents
=begin Copyright 2010-2017 Sarosys LLC <http://www.sarosys.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 class WEBrick::Cookie attr_accessor :httponly class << self alias :old_parse_set_cookie :parse_set_cookie end def self.parse_set_cookie( str ) cookie = old_parse_set_cookie( str ) cookie.httponly = str.split( ';' ).map { |f| f.downcase.strip }. include?( 'httponly' ) cookie end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
arachni-1.5.1 | lib/arachni/ruby/webrick/cookie.rb |
arachni-1.5 | lib/arachni/ruby/webrick/cookie.rb |