Sha256: 9bd93d48d972e4fadc4bd44aba0ca3f5d5074d5fbbeb0f0b92faefe0a5550661

Contents?: true

Size: 369 Bytes

Versions: 35

Compression:

Stored size: 369 Bytes

Contents

require 'sinatra'
require 'sinatra/contrib'

get '/' do
    cookies[:cookie1] = 'val1'

    <<-HTML
        <a href='/a_link'>A link</a>
        <a href='/update_cookie'>Update cookie</a>
    HTML
end

get '/a_link' do
    cookies[:link_followed] = 'yay link!'
end

get '/update_cookie' do
    cookies[:link_followed] = 'updated link!'
    cookies[:stuff] = 'blah'
end

Version data entries

35 entries across 35 versions & 1 rubygems

Version Path
arachni-1.6.1.3 spec/support/servers/plugins/cookie_collector.rb
arachni-1.6.1.2 spec/support/servers/plugins/cookie_collector.rb
arachni-1.6.1.1 spec/support/servers/plugins/cookie_collector.rb
arachni-1.6.1 spec/support/servers/plugins/cookie_collector.rb
arachni-1.6.0 spec/support/servers/plugins/cookie_collector.rb
arachni-1.5.1 spec/support/servers/plugins/cookie_collector.rb
arachni-1.5 spec/support/servers/plugins/cookie_collector.rb
arachni-1.4 spec/support/servers/plugins/cookie_collector.rb
arachni-1.3.2 spec/support/servers/plugins/cookie_collector.rb
arachni-1.3.1 spec/support/servers/plugins/cookie_collector.rb
arachni-1.3 spec/support/servers/plugins/cookie_collector.rb
arachni-1.2.1 spec/support/servers/plugins/cookie_collector.rb
arachni-1.2 spec/support/servers/plugins/cookie_collector.rb
arachni-1.1 spec/support/servers/plugins/cookie_collector.rb
arachni-1.0.6 spec/support/servers/plugins/cookie_collector.rb
arachni-1.0.5 spec/support/servers/plugins/cookie_collector.rb
arachni-1.0.4 spec/support/servers/plugins/cookie_collector.rb
arachni-1.0.3 spec/support/servers/plugins/cookie_collector.rb
arachni-1.0.2 spec/support/servers/plugins/cookie_collector.rb
arachni-1.0.1 spec/support/servers/plugins/cookie_collector.rb