зеркало из https://github.com/github/ruby.git
* lib/webrick/httpservlet/cgihandler.rb: external encoding of
tempfiles is set to "ASCII-8BIT". git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14936 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
Родитель
466d40ed15
Коммит
cc3350f118
|
@ -1,3 +1,8 @@
|
|||
Mon Jan 7 20:37:55 2008 GOTOU Yuuzou <gotoyuzo@notwork.org>
|
||||
|
||||
* lib/webrick/httpservlet/cgihandler.rb: external encoding of
|
||||
tempfiles is set to "ASCII-8BIT".
|
||||
|
||||
Mon Jan 7 19:39:50 2008 Eric Hodel <drbrain@segment7.net>
|
||||
|
||||
* lib/rdoc/template.rb: Use ERB instead of custom template language.
|
||||
|
|
|
@ -35,7 +35,9 @@ module WEBrick
|
|||
|
||||
cgi_in = IO::popen(@cgicmd, "wb")
|
||||
cgi_out = Tempfile.new("webrick.cgiout.", @tempdir)
|
||||
cgi_out.set_encoding("ASCII-8BIT")
|
||||
cgi_err = Tempfile.new("webrick.cgierr.", @tempdir)
|
||||
cgi_err.set_encoding("ASCII-8BIT")
|
||||
begin
|
||||
cgi_in.sync = true
|
||||
meta = req.meta_vars
|
||||
|
|
Загрузка…
Ссылка в новой задаче