diff options
author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2003-10-15 08:34:35 +0000 |
---|---|---|
committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2003-10-15 08:34:35 +0000 |
commit | a23075a53ea30f57f539f4f5280ac4476bdc2749 (patch) | |
tree | 311d7fda4f62912c919b25aa839d160ba294bc8d | |
parent | c12ae030baba113525dd54c2a9177faa0ff4c25d (diff) | |
download | ruby-a23075a53ea30f57f539f4f5280ac4476bdc2749.tar.gz |
* 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
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | lib/cgi.rb | 2 |
2 files changed, 5 insertions, 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 diff --git a/lib/cgi.rb b/lib/cgi.rb index 929ed3fac8..116cd42eef 100644 --- a/lib/cgi.rb +++ b/lib/cgi.rb @@ -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) } |