diff options
author | stbuehler <stbuehler@152afb58-edef-0310-8abb-c4023f1b3aa9> | 2016-03-04 19:46:29 +0000 |
---|---|---|
committer | stbuehler <stbuehler@152afb58-edef-0310-8abb-c4023f1b3aa9> | 2016-03-04 19:46:29 +0000 |
commit | f7bfd1173d37d468f4127457c9c044746e10eb9a (patch) | |
tree | 2816a59fe28df21ae48dbac0b03543c40223290f | |
parent | 015442431ae264b21a302e6963301f069325caa0 (diff) | |
download | lighttpd-f7bfd1173d37d468f4127457c9c044746e10eb9a.tar.gz |
[mod_dirlisting] dir-listing.hide-dotfiles = "enabled" by default (fixes #1081)
From: Stefan Bühler <stbuehler@web.de>
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@3094 152afb58-edef-0310-8abb-c4023f1b3aa9
-rw-r--r-- | NEWS | 1 | ||||
-rw-r--r-- | src/mod_dirlisting.c | 2 |
2 files changed, 2 insertions, 1 deletions
@@ -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; |