Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12-SP4:GA
openwsman
0013-Disable-directory-listing-by-default.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0013-Disable-directory-listing-by-default.patch of Package openwsman
From d1998b699528bdbfaccc34bd1170b314696b7371 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Klaus=20K=C3=A4mpf?= <kkaempf@suse.de> Date: Tue, 3 Jul 2018 13:25:28 +0200 Subject: [PATCH 13/15] Disable directory listing by default --- src/server/shttpd/config.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/server/shttpd/config.c b/src/server/shttpd/config.c index 67b904d0521a..e21f6c11aef8 100644 --- a/src/server/shttpd/config.c +++ b/src/server/shttpd/config.c @@ -180,7 +180,7 @@ const struct opt options[] = { {'p', "listen_ports", "Listening ports", set_str, OFS(ports), "ports", LISTENING_PORTS, OPT_ADVANCED}, {'D', "list_directories", "Directory listing", set_int, - OFS(dirlist), BOOL_OPT, "1", OPT_BOOL | OPT_ADVANCED}, + OFS(dirlist), BOOL_OPT, "0", OPT_BOOL | OPT_ADVANCED}, #ifndef NO_CGI {'c', "cgi_extensions", "CGI extensions", set_str, OFS(cgi_extensions), "ext_list", CGI_EXT, OPT_ADVANCED}, -- 2.18.0
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor