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

Ticket #147 (closed enhancement: fixed)

Opened 2 years ago

Last modified 1 year ago

Non-standard Set-Cookie causes WebAgent::CookieManager::SpecialError

Reported by: guyrosen@hotmail.com Assigned to: nahi
Priority: normal Milestone: 2.0.7
Component: core Version: 2.0
Keywords: Cc:

Description

I encountered this one on http://reddit.com/. For some reason the Set-Cookie header's domain doesn't have a leading period:

Set-Cookie: reddit_first=first; Domain=reddit.com; expires=Mon, 26-Mar-2007 02:32:48 GMT; Path=/;

Granted, it's non-standard, but browsers seem to be okay with it. http-access2 raises a WebAgent::CookieManager::SpecialError? (in cookie.rb:344 - #add), because total_dot_num(domain)<2

Change History

04/28/07 22:03:35 changed by nahi

  • status changed from new to assigned.
  • milestone changed from undefined to 2.0.7.

04/29/07 01:37:27 changed by nahi

  • status changed from assigned to closed.
  • type changed from defect to enhancement.
  • resolution set to fixed.

[136] should fixed it. Thanks!