Actions
Bug #1081
closedmod_dirlisting hide-dotfiles contrary to the docs disabled by default
ASK QUESTIONS IN Forums:
Description
Hiding of dotfiles is disabled in mod_dirlisting by default but the docs say otherwise.
Disabling it by default could pose a security hole in some situations.
Updated by gstrauss over 8 years ago
I agree and think that dir-listing.hide-dotfiles = "enable" should be the default.
diff --git a/src/mod_dirlisting.c b/src/mod_dirlisting.c index 338cb42..0fed2ec 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;
Updated by stbuehler over 8 years ago
- Description updated (diff)
- Assignee deleted (
jan) - Target version set to 1.4.40
Updated by stbuehler over 8 years ago
- Status changed from New to Fixed
- % Done changed from 0 to 100
Applied in changeset r3094.
Actions
Also available in: Atom