summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKazuhiro NISHIYAMA <zn@mbf.nifty.com>2020-06-19 22:08:19 +0900
committerKazuhiro NISHIYAMA <zn@mbf.nifty.com>2020-06-19 22:08:19 +0900
commit78d4eace02c3c03b65d775a3bb7537f2a6e8c6e7 (patch)
tree920325f7f9d85c56119dfd4be1982e4721ab763f
parent6fe1919486111bcdd5ef41fea15b0e82f7f50d82 (diff)
Do not change local_path encoding in WEBrick::HTTPServlet::DefaultFileHandler
This reverts 750203c514e0e9a49f7d53fb54084e6844fca42a and 93e6fa1d319d19ce7fba37e4b9924862447b9f38
-rw-r--r--lib/webrick/httpservlet/filehandler.rb2
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: