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 --- ChangeLog | 5 +++++ lib/webrick/httputils.rb | 3 +-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 4edeebd46..312184c00 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 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