mirror of
https://github.com/ruby/ruby.git
synced 2025-08-25 14:05:02 +02:00
Do not change local_path encoding in WEBrick::HTTPServlet::DefaultFileHandler
This reverts750203c514
and93e6fa1d31
This commit is contained in:
parent
6fe1919486
commit
78d4eace02
1 changed files with 1 additions and 1 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue