Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Step:15-SP4
openwsman.10640
a4a66e8.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File a4a66e8.patch of Package openwsman.10640
From a4a66e88485903ac386cc7ed195b7c7ffa551d26 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Klaus=20K=C3=A4mpf?= <kkaempf@suse.de> Date: Tue, 3 Jul 2018 13:22:41 +0200 Subject: [PATCH] Disable directory listing by default --- src/server/shttpd/shttpd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/server/shttpd/shttpd.c b/src/server/shttpd/shttpd.c index dd8c1c8a..f0f3fbd8 100644 --- a/src/server/shttpd/shttpd.c +++ b/src/server/shttpd/shttpd.c @@ -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
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