summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-10-15 08:34:35 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-10-15 08:34:35 +0000
commita23075a53ea30f57f539f4f5280ac4476bdc2749 (patch)
tree311d7fda4f62912c919b25aa839d160ba294bc8d
parentc12ae030baba113525dd54c2a9177faa0ff4c25d (diff)
* 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--ChangeLog4
-rw-r--r--lib/cgi.rb2
2 files changed, 5 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index f7e8cad22a..2f6d2c0567 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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) }