mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* lib/cgi.rb (CGI::Cookie): tiny typo fix.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4777 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
c12ae030ba
commit
a23075a53e
2 changed files with 5 additions and 1 deletions
|
@ -1,3 +1,7 @@
|
|||
Wed Oct 15 17:24:45 2003 URABE Shyouhei <root@mput.dip.jp>
|
||||
|
||||
* lib/cgi.rb (CGI::Cookie): tiny typo fix.
|
||||
|
||||
Wed Oct 15 15:00:54 2003 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* eval.c (ruby_run): just return FAILURE instead of parse error
|
||||
|
|
|
@ -872,7 +872,7 @@ class CGI
|
|||
|
||||
raw_cookie.split(/; /).each do |pairs|
|
||||
name, values = pairs.split('=',2)
|
||||
next unless name and value
|
||||
next unless name and values
|
||||
name = CGI::unescape(name)
|
||||
values ||= ""
|
||||
values = values.split('&').collect{|v| CGI::unescape(v) }
|
||||
|
|
Loading…
Reference in a new issue