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
|
@ -1,3 +1,9 @@
|
||||||
|
Fri Oct 14 16:39:37 2005 GOTOU Yuuzou <gotoyuzo@notwork.org>
|
||||||
|
|
||||||
|
* 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.
|
||||||
|
|
||||||
Thu Oct 13 23:29:51 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
Thu Oct 13 23:29:51 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||||
|
|
||||||
* parse.y (HEAPCNT): bison allocates indivisible size.
|
* parse.y (HEAPCNT): bison allocates indivisible size.
|
||||||
|
|
|
@ -71,7 +71,7 @@ module WEBrick
|
||||||
:HandlerCallback => nil,
|
:HandlerCallback => nil,
|
||||||
:DirectoryCallback => nil,
|
:DirectoryCallback => nil,
|
||||||
:FileCallback => nil,
|
:FileCallback => nil,
|
||||||
:UserDir => "public_html",
|
:UserDir => nil, # e.g. "public_html"
|
||||||
:AcceptableLanguages => [] # ["en", "ja", ... ]
|
:AcceptableLanguages => [] # ["en", "ja", ... ]
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue