aboutsummaryrefslogtreecommitdiffstats
path: root/lib/webrick/config.rb
diff options
context:
space:
mode:
authorgotoyuzo <gotoyuzo@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2004-12-15 08:47:49 +0000
committergotoyuzo <gotoyuzo@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2004-12-15 08:47:49 +0000
commit52d91fa4027cd0d988d89a1d2e95253fbbabf894 (patch)
tree587704d3bfe1797863ec5cd7bab2ab5b49c95ac4 /lib/webrick/config.rb
parent2edbb9d0f802bab53153979c59125dd0afaafccf (diff)
downloadruby-52d91fa4027cd0d988d89a1d2e95253fbbabf894.tar.gz
* lib/webrick/server.rb (WEBrick::GenericServer#start_thread):
should log about all accepted socket. [ruby-core:03962] * lib/webrick/accesslog.rb (WEBrick::AccessLog#setup_params): "%%" and "%u" are supported. [webricken:135] * lib/webrick/httpservlet/filehandler.rb (WEBrick::HTTPServlet::FileHandler#check_filename): :NondisclosureName is acceptable if it is Enumerable. * lib/webrick/config.rb (WEBrick::Config::FileHandler): default value of :NondisclosureName is [".ht*", "*~"]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7566 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/webrick/config.rb')
-rw-r--r--lib/webrick/config.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/webrick/config.rb b/lib/webrick/config.rb
index 7a8fc7df0b..f787eea614 100644
--- a/lib/webrick/config.rb
+++ b/lib/webrick/config.rb
@@ -65,7 +65,7 @@ module WEBrick
)
FileHandler = {
- :NondisclosureName => ".ht*",
+ :NondisclosureName => [".ht*", "*~"],
:FancyIndexing => false,
:HandlerTable => {},
:HandlerCallback => nil,