1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/lib/webrick
Kazuhiro NISHIYAMA 93e6fa1d31 Use filesystem encoding in do_GET of filehandler
Try to fix 404 error on mswinci.

https://rubyci.org/logs/mswinci.japaneast.cloudapp.azure.com/vc12-x64/ruby-master/log/20200614T225859Z.fail.html.gz
```
  1) Failure:
WEBrick::TestFileHandler#test_cjk_in_path [D:/tmp/mswin-build20200615-24932-11ykstf/ruby/test/webrick/utils.rb:72]:
exceptions on 2 threads:
webrick log start:
  [2020-06-15 09:48:29] ERROR `/あ.txt' not found.

webrick log end.
<"200"> expected but was
<"404">.
---
<[]> expected but was
<["[2020-06-15 09:48:29] ERROR `/\xE3\x81\x82.txt' not found.\n"]>.
```
2020-06-15 11:25:33 +09:00
..
httpauth
httpservlet Use filesystem encoding in do_GET of filehandler 2020-06-15 11:25:33 +09:00
.document
accesslog.rb
cgi.rb
compat.rb
config.rb
cookie.rb
htmlutils.rb
httpauth.rb
httpproxy.rb [ruby/webrick] Extract creation of Net::HTTP in httpproxy 2020-06-11 13:37:24 +09:00
httprequest.rb
httpresponse.rb
https.rb
httpserver.rb
httpservlet.rb
httpstatus.rb
httputils.rb
httpversion.rb
log.rb
server.rb
ssl.rb
utils.rb
version.rb
webrick.gemspec