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 | 17421674aa8d61e82d27e953d84706e0cd77f0b2 (patch) | |
| tree | 7388e079f2dd1f49fef7c2569f45abc722a7aa96 /lib/webrick | |
| parent | 405330e9a775ab586449e427d655c0b50faf773f (diff) | |
| download | ruby-17421674aa8d61e82d27e953d84706e0cd77f0b2.tar.gz ruby-17421674aa8d61e82d27e953d84706e0cd77f0b2.tar.xz ruby-17421674aa8d61e82d27e953d84706e0cd77f0b2.zip | |
* 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
Diffstat (limited to 'lib/webrick')
| -rw-r--r-- | lib/webrick/httputils.rb | 3 |
1 files changed, 1 insertions, 2 deletions
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 |
