diff options
author | Kazuhiro NISHIYAMA <[email protected]> | 2020-06-19 22:08:19 +0900 |
---|---|---|
committer | Kazuhiro NISHIYAMA <[email protected]> | 2020-06-19 22:08:19 +0900 |
commit | 78d4eace02c3c03b65d775a3bb7537f2a6e8c6e7 (patch) | |
tree | 920325f7f9d85c56119dfd4be1982e4721ab763f /lib/webrick/httpservlet | |
parent | 6fe1919486111bcdd5ef41fea15b0e82f7f50d82 (diff) |
Do not change local_path encoding in WEBrick::HTTPServlet::DefaultFileHandler
This reverts 750203c514e0e9a49f7d53fb54084e6844fca42a and 93e6fa1d319d19ce7fba37e4b9924862447b9f38
Diffstat (limited to 'lib/webrick/httpservlet')
-rw-r--r-- | lib/webrick/httpservlet/filehandler.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/webrick/httpservlet/filehandler.rb b/lib/webrick/httpservlet/filehandler.rb index f41a5b07cf..f67d416b72 100644 --- a/lib/webrick/httpservlet/filehandler.rb +++ b/lib/webrick/httpservlet/filehandler.rb @@ -36,7 +36,7 @@ module WEBrick def initialize(server, local_path) super(server, local_path) - @local_path = local_path.dup.force_encoding("UTF-8") + @local_path = local_path end # :stopdoc: |