From 673448c27d46e84a49dacc2ce2a7f10a041f39b9 Mon Sep 17 00:00:00 2001 From: xibbar Date: Mon, 17 Oct 2011 17:33:57 +0000 Subject: 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/trunk@33472 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- lib/cgi/core.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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