mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Tue Oct 18 02:24:19 2011 Takeyuki FUJIOKA <xibbar@ruby-lang.org>
* 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
This commit is contained in:
parent
4db3466357
commit
673448c27d
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue