diff options
author | gotoyuzo <gotoyuzo@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2003-08-07 18:24:27 +0000 |
---|---|---|
committer | gotoyuzo <gotoyuzo@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2003-08-07 18:24:27 +0000 |
commit | 4eb40640854aa3bbb3b1c3b1b352e397afc6bbd0 (patch) | |
tree | 7388e079f2dd1f49fef7c2569f45abc722a7aa96 | |
parent | 430eabfe13989b4bf8be2761cc2f9a968b5a9653 (diff) | |
download | ruby-4eb40640854aa3bbb3b1c3b1b352e397afc6bbd0.tar.gz |
* lib/webrick/httputils.rb (FormData#list): should not take
a side effect for the receiver.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4352 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | lib/webrick/httputils.rb | 3 |
2 files changed, 6 insertions, 2 deletions
@@ -1,3 +1,8 @@ +Fri Aug 8 03:22:28 2003 GOTOU Yuuzou <gotoyuzo@notwork.org> + + * lib/webrick/httputils.rb (FormData#list): should not take + a side effect for the receiver. + Thu Aug 7 14:40:37 2003 WATANABE Hirofumi <eban@ruby-lang.org> * cygwin/GNUmakefile: better --disbale-shared option support. diff --git a/lib/webrick/httputils.rb b/lib/webrick/httputils.rb index ce4defbb28..6b8704cc7f 100644 --- a/lib/webrick/httputils.rb +++ b/lib/webrick/httputils.rb @@ -261,8 +261,7 @@ module WEBrick def list ret = [] each_data{|data| - data.next_data = nil - ret << data + ret << data.to_s } ret end |