From: Matthew Boedicker Date: 2009-09-20T05:30:02+09:00 Subject: [ruby-core:25656] [Bug #2124] CGI module Set-Cookie header parsing Bug #2124: CGI module Set-Cookie header parsing http://redmine.ruby-lang.org/issues/show/2124 Author: Matthew Boedicker Status: Open, Priority: Normal ruby -v: ruby 1.8.7 (2008-08-11 patchlevel 72) [x86_64-linux] Having a couple issues with parsing Set-Cookie headers. CGI::Cookie::parse('k=v; expires=Mon, 19-Sep-2011 20:03:01 GMT; path=/; domain=.test.com') {"k"=>["v"], "expires"=>["Mon"], "domain"=>[".test.com"], "path"=>["/"]} 1) Date is not parsed correctly 2) How do I get the name of this cookie? Check for any keys that are not "expires", "domain" or "path"? 3) Documentation is not correct. Says it will return hash of cookie_name => Cookie ---------------------------------------- http://redmine.ruby-lang.org