mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* lib/webrick/config.rb (Config::FileHandler): :UserDir should be nil.
It is harmful to permit the access to ~/public_html by default. suggested by Hiroyuki Iwatsuki. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9386 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
1f15b5fb48
commit
8c293539cd
2 changed files with 7 additions and 1 deletions
|
@ -71,7 +71,7 @@ module WEBrick
|
|||
:HandlerCallback => nil,
|
||||
:DirectoryCallback => nil,
|
||||
:FileCallback => nil,
|
||||
:UserDir => "public_html",
|
||||
:UserDir => nil, # e.g. "public_html"
|
||||
:AcceptableLanguages => [] # ["en", "ja", ... ]
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue