From: "ethicalhack3r (ryan dewhurst)" Date: 2012-11-16T01:01:37+09:00 Subject: [ruby-core:49381] [ruby-trunk - Bug #7364][Open] CGI::Cookie.parse can't deal with cookie options Issue #7364 has been reported by ethicalhack3r (ryan dewhurst). ---------------------------------------- Bug #7364: CGI::Cookie.parse can't deal with cookie options https://bugs.ruby-lang.org/issues/7364 Author: ethicalhack3r (ryan dewhurst) Status: Open Priority: Normal Assignee: Category: lib Target version: 1.9.3 ruby -v: ruby 1.9.3p194 (2012-04-20 revision 35410) [x86_64-darwin10.8.0] Reproducing steps; reproducing code is needed: p CGI::Cookie::parse("ASPSESSIONIDSCDRSRTS=HHALOHOBJGJMLPIANNLDOMCJ; path=/") What you expected: Cookie hash with cookie name as key and cookie object as value. The 'path' option within the cookie object, not as a cookie name. What happened (If you have a error log, don't omit it.): I got a hash with the 'path' option as a cookie name. {"ASPSESSIONIDSCDRSRTS"=>["HHALOHOBJGJMLPIANNLDOMCJ"], "path"=>["/"]} -- http://bugs.ruby-lang.org/