From 398a718d2e04ff0d78289b0e3823060706124ae5 Mon Sep 17 00:00:00 2001 From: kosaki Date: Tue, 3 Jan 2012 01:22:28 +0000 Subject: merge revision(s) 33472: ------------------------------------------------------------------------ r33472 | xibbar | 2011-10-17 13:33:57 -0400 (Mon, 17 Oct 2011) | 4 lines Tue Oct 18 02:24:19 2011 Takeyuki FUJIOKA * lib/cgi/core.rb (QueryExtension#read_multiparat): replace 'stdinput' from '$stdin' because using fast cgi. [Bug #5451] ------------------------------------------------------------------------ git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@34187 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- lib/cgi/core.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') diff --git a/lib/cgi/core.rb b/lib/cgi/core.rb index 824c80e5a0..e961b16474 100644 --- a/lib/cgi/core.rb +++ b/lib/cgi/core.rb @@ -462,7 +462,7 @@ class CGI # def read_multipart(boundary, content_length) ## read first boundary - stdin = $stdin + stdin = stdinput first_line = "--#{boundary}#{EOL}" content_length -= first_line.bytesize status = stdin.read(first_line.bytesize) -- cgit v1.2.3