ruby-cvs:15863
From: (gotoyuzo) <gotoyuzo ruby-lang.org>
Date: Mon, 31 Oct 2005 05:38:44 +0900
Subject: [ruby-cvs:15863] ruby, ruby/lib/webrick/httpservlet, ruby/lib/webrick, ruby/test/webrick: * lib/webrick/httpservlet/cgihandler.rb
gotoyuzo Mon, 31 Oct 2005 05:38:44 +0900
Modified files: (Branch: ruby_1_8)
ruby:
ChangeLog
ruby/lib/webrick/httpservlet:
cgihandler.rb
ruby/lib/webrick:
cookie.rb
ruby/test/webrick:
test_cookie.rb test_cgi.rb webrick.cgi
Log:
* lib/webrick/httpservlet/cgihandler.rb
(WEBrick::HTTPServlet::CGIHandler#do_GET): the value of Set-Cookie:
header field should be splited into each cookie. [ruby-Bugs:2199]
* lib/webrick/cookie.rb (WEBrick::Cookie.parse_set_cookie): new method
to parse the value of Set-Cookie: header field.
* test/webrick/test_cookie.rb, test/webrick/test_cgi.rb,
test/webrick/webrick.cgi: add some test for cookie.
Revision Changes Path
1.2673.2.1363 +12 -0 ruby/ChangeLog
http://www.ruby-lang.org/cgi-bin/cvsweb.cgi/ruby/ChangeLog?cvsroot=src&r1=1.2673.2.1362&r2=1.2673.2.1363
1.2.2.2 +6 -0 ruby/lib/webrick/httpservlet/cgihandler.rb
http://www.ruby-lang.org/cgi-bin/cvsweb.cgi/ruby/lib/webrick/httpservlet/cgihandler.rb?cvsroot=src&r1=1.2.2.1&r2=1.2.2.2
1.1.2.1 +24 -0 ruby/lib/webrick/cookie.rb
http://www.ruby-lang.org/cgi-bin/cvsweb.cgi/ruby/lib/webrick/cookie.rb?cvsroot=src&r1=1.1&r2=1.1.2.1
1.1.2.2 +17 -0 ruby/test/webrick/test_cookie.rb
http://www.ruby-lang.org/cgi-bin/cvsweb.cgi/ruby/test/webrick/test_cookie.rb?cvsroot=src&r1=1.1.2.1&r2=1.1.2.2
1.1.2.4 +22 -0 ruby/test/webrick/test_cgi.rb
http://www.ruby-lang.org/cgi-bin/cvsweb.cgi/ruby/test/webrick/test_cgi.rb?cvsroot=src&r1=1.1.2.3&r2=1.1.2.4
1.1.2.4 +6 -0 ruby/test/webrick/webrick.cgi
http://www.ruby-lang.org/cgi-bin/cvsweb.cgi/ruby/test/webrick/webrick.cgi?cvsroot=src&r1=1.1.2.3&r2=1.1.2.4