From 4eb40640854aa3bbb3b1c3b1b352e397afc6bbd0 Mon Sep 17 00:00:00 2001 From: gotoyuzo Date: Thu, 7 Aug 2003 18:24:27 +0000 Subject: [PATCH] * 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 --- ChangeLog | 5 +++++ lib/webrick/httputils.rb | 3 +-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 4edeebd463..312184c00c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Fri Aug 8 03:22:28 2003 GOTOU Yuuzou + + * lib/webrick/httputils.rb (FormData#list): should not take + a side effect for the receiver. + Thu Aug 7 14:40:37 2003 WATANABE Hirofumi * 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