diff options
author | gotoyuzo <gotoyuzo@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2005-10-14 07:40:47 +0000 |
---|---|---|
committer | gotoyuzo <gotoyuzo@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2005-10-14 07:40:47 +0000 |
commit | 8c293539cdaa659e724e9e55a0df5dbd145b53bf (patch) | |
tree | b4060e9caf593cd43ba1ead6c57a8137c3e9e865 /lib/webrick/config.rb | |
parent | 1f15b5fb487ad9d4e68dfc3773a859e0fa8307d8 (diff) | |
download | ruby-8c293539cdaa659e724e9e55a0df5dbd145b53bf.tar.gz |
* 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
Diffstat (limited to 'lib/webrick/config.rb')
-rw-r--r-- | lib/webrick/config.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/webrick/config.rb b/lib/webrick/config.rb index f787eea614..19d0c7ab14 100644 --- a/lib/webrick/config.rb +++ b/lib/webrick/config.rb @@ -71,7 +71,7 @@ module WEBrick :HandlerCallback => nil, :DirectoryCallback => nil, :FileCallback => nil, - :UserDir => "public_html", + :UserDir => nil, # e.g. "public_html" :AcceptableLanguages => [] # ["en", "ja", ... ] } |