Welcome to the "trac"-ing site of http-access2!
[soap4r] [httpclient] [openpgp4u] [pkcs1] [logger] [csv] [vtr]

Ticket #118 (closed defect: duplicate)

Opened 2 years ago

Last modified 2 years ago

cookies using http-access2 not to be sent on subsequent requests

Reported by: nahi Assigned to: nahi
Priority: highest Milestone: 2.0.7
Component: core Version: 2.0
Keywords: Cc:

Description

  ...
        #return tail_match?(domain, host)
        return tail_match?(host, domain) 
  ...

  $ cat cookies
  http://rubyforge.org//account/login.php session_ser     LjEwMy45Ni40Ni0q%2A-fa0537de8cc31  1131676286      .rubyforge.org  / 13

  $ ruby a.rb
  domain_match('rubyforge.org', '.rubyforge.org') => false
  domain_match('rubyforge.org', '.rubyforge.org') => true

without this fix cookies do not round trip as they are not found by
Cookie#find. 

Change History

07/17/06 12:22:47 changed by nahi

  • status changed from new to closed.
  • resolution set to duplicate.

moved to #24

07/17/06 13:10:16 changed by nahi

  • milestone changed from undefined to 2.0.7.