Do not change local_path encoding in WEBrick::HTTPServlet::DefaultFileHandler

This reverts 750203c514 and 93e6fa1d31
This commit is contained in:
Kazuhiro NISHIYAMA 2020-06-19 22:08:19 +09:00
parent 6fe1919486
commit 78d4eace02
No known key found for this signature in database
GPG key ID: 262ED8DBB4222F7A

View file

@ -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: