ruby-core@ruby-lang.org archive (unofficial mirror)
 help / color / mirror / Atom feed
* [ruby-core:49381] [ruby-trunk - Bug #7364][Open] CGI::Cookie.parse can't deal with cookie options
@ 2012-11-15 16:01 ethicalhack3r (ryan dewhurst)
  2012-11-25  2:57 ` [ruby-core:50062] [ruby-trunk - Bug #7364][Assigned] " mame (Yusuke Endoh)
  2012-11-26 13:18 ` [ruby-core:50159] [ruby-trunk - Bug #7364][Rejected] " xibbar (Takeyuki Fujioka)
  0 siblings, 2 replies; 3+ messages in thread
From: ethicalhack3r (ryan dewhurst) @ 2012-11-15 16:01 UTC (permalink / raw
  To: ruby-core


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/

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [ruby-core:50062] [ruby-trunk - Bug #7364][Assigned] CGI::Cookie.parse can't deal with cookie options
  2012-11-15 16:01 [ruby-core:49381] [ruby-trunk - Bug #7364][Open] CGI::Cookie.parse can't deal with cookie options ethicalhack3r (ryan dewhurst)
@ 2012-11-25  2:57 ` mame (Yusuke Endoh)
  2012-11-26 13:18 ` [ruby-core:50159] [ruby-trunk - Bug #7364][Rejected] " xibbar (Takeyuki Fujioka)
  1 sibling, 0 replies; 3+ messages in thread
From: mame (Yusuke Endoh) @ 2012-11-25  2:57 UTC (permalink / raw
  To: ruby-core


Issue #7364 has been updated by mame (Yusuke Endoh).

Status changed from Open to Assigned
Assignee set to xibbar (Takeyuki Fujioka)
Target version changed from 1.9.3 to 2.0.0

I guess that CGI::Cookie::parse is a method for parsing ENV["HTTP_COOKIE"], not http response.

Anyway I'm assigning to xibbar, cgi.rb maintainer.

-- 
Yusuke Endoh <mame@tsg.ne.jp>
----------------------------------------
Bug #7364: CGI::Cookie.parse can't deal with cookie options
https://bugs.ruby-lang.org/issues/7364#change-33842

Author: ethicalhack3r (ryan dewhurst)
Status: Assigned
Priority: Normal
Assignee: xibbar (Takeyuki Fujioka)
Category: lib
Target version: 2.0.0
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/

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [ruby-core:50159] [ruby-trunk - Bug #7364][Rejected] CGI::Cookie.parse can't deal with cookie options
  2012-11-15 16:01 [ruby-core:49381] [ruby-trunk - Bug #7364][Open] CGI::Cookie.parse can't deal with cookie options ethicalhack3r (ryan dewhurst)
  2012-11-25  2:57 ` [ruby-core:50062] [ruby-trunk - Bug #7364][Assigned] " mame (Yusuke Endoh)
@ 2012-11-26 13:18 ` xibbar (Takeyuki Fujioka)
  1 sibling, 0 replies; 3+ messages in thread
From: xibbar (Takeyuki Fujioka) @ 2012-11-26 13:18 UTC (permalink / raw
  To: ruby-core


Issue #7364 has been updated by xibbar (Takeyuki Fujioka).

Status changed from Assigned to Rejected

I agree with mame-san.
In this case, I think CGI::Cookie::parse is out of role.

----------------------------------------
Bug #7364: CGI::Cookie.parse can't deal with cookie options
https://bugs.ruby-lang.org/issues/7364#change-33955

Author: ethicalhack3r (ryan dewhurst)
Status: Rejected
Priority: Normal
Assignee: xibbar (Takeyuki Fujioka)
Category: lib
Target version: 2.0.0
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/

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-11-26 13:20 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-11-15 16:01 [ruby-core:49381] [ruby-trunk - Bug #7364][Open] CGI::Cookie.parse can't deal with cookie options ethicalhack3r (ryan dewhurst)
2012-11-25  2:57 ` [ruby-core:50062] [ruby-trunk - Bug #7364][Assigned] " mame (Yusuke Endoh)
2012-11-26 13:18 ` [ruby-core:50159] [ruby-trunk - Bug #7364][Rejected] " xibbar (Takeyuki Fujioka)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).