mirror of
https://github.com/ruby/ruby.git
synced 2025-08-25 14:05:02 +02:00
[ruby/webrick] Fix httpd error in CJK directory
[Bug #16753]
83cf440858
This commit is contained in:
parent
6742fcf553
commit
e698bf1a7f
2 changed files with 14 additions and 1 deletions
|
@ -324,7 +324,7 @@ module WEBrick
|
|||
end
|
||||
|
||||
def set_filename(req, res)
|
||||
res.filename = @root.dup
|
||||
res.filename = @root.b
|
||||
path_info = req.path_info.scan(%r|/[^/]*|)
|
||||
|
||||
path_info.unshift("") # dummy for checking @root dir
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue