From 17421674aa8d61e82d27e953d84706e0cd77f0b2 Mon Sep 17 00:00:00 2001 From: gotoyuzo Date: Thu, 7 Aug 2003 18:24:27 +0000 Subject: * lib/webrick/httputils.rb (FormData#list): should not take a side effect for the receiver. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4352 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- lib/webrick/httputils.rb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'lib') diff --git a/lib/webrick/httputils.rb b/lib/webrick/httputils.rb index ce4defbb2..6b8704cc7 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 -- cgit