Browse Source

[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
svn/heads/lighttpd-1.4.x
Stefan Bühler 6 years ago
parent
commit
f3606dc539
  1. 1
      NEWS
  2. 2
      src/mod_dirlisting.c

1
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)

2
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;

Loading…
Cancel
Save