From f7bfd1173d37d468f4127457c9c044746e10eb9a Mon Sep 17 00:00:00 2001 From: stbuehler Date: Fri, 4 Mar 2016 19:46:29 +0000 Subject: [mod_dirlisting] dir-listing.hide-dotfiles = "enabled" by default (fixes #1081) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit From: Stefan Bühler git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@3094 152afb58-edef-0310-8abb-c4023f1b3aa9 --- NEWS | 1 + src/mod_dirlisting.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/NEWS b/NEWS index 39c8e2d1..1173dbac 100644 --- a/NEWS +++ b/NEWS @@ -24,6 +24,7 @@ NEWS * [mod_cgi] simplify mod_cgi_handle_subrequest() * [mod_cgi] kill CGI if fail to write request body * [mod_proxy] use case-insensitive comparision to filter headers, send Connection: Close to backend (fixes #421) + * [mod_dirlisting] dir-listing.hide-dotfiles = "enabled" by default (fixes #1081) - 1.4.39 - 2016-01-02 * [core] fix memset_s call (fixes #2698) diff --git a/src/mod_dirlisting.c b/src/mod_dirlisting.c index 338cb427..0fed2ec8 100644 --- a/src/mod_dirlisting.c +++ b/src/mod_dirlisting.c @@ -247,7 +247,7 @@ SETDEFAULTS_FUNC(mod_dirlisting_set_defaults) { s->excludes = excludes_buffer_init(); s->dir_listing = 0; s->external_css = buffer_init(); - s->hide_dot_files = 0; + s->hide_dot_files = 1; s->show_readme = 0; s->hide_readme_file = 0; s->show_header = 0; -- cgit v1.2.1