Skip to content

Commit

Permalink
Disable directory listing by default
Browse files Browse the repository at this point in the history
  • Loading branch information
kkaempf committed Jul 3, 2018
1 parent eebc623 commit a4a66e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/server/shttpd/shttpd.c
Original file line number Diff line number Diff line change
Expand Up @@ -1693,7 +1693,7 @@ static const struct opt {
{OPT_SSL_CERTIFICATE, "ssl_cert", "SSL certificate file", NULL,set_ssl},
#endif /* NO_SSL */
{OPT_PORTS, "ports", "Listening ports", NULL, set_ports},
{OPT_DIR_LIST, "dir_list", "Directory listing", "yes", NULL},
{OPT_DIR_LIST, "dir_list", "Directory listing", "no", NULL},
{OPT_CFG_URI, "cfg_uri", "Config uri", NULL, set_cfg_uri},
{OPT_PROTECT, "protect", "URI to htpasswd mapping", NULL, NULL},
#ifndef NO_CGI
Expand Down

0 comments on commit a4a66e8

Please sign in to comment.