From ce2ea66fedd08879647d4adeaa1a1eb9454c7281 Mon Sep 17 00:00:00 2001 From: Lachlan Roberts Date: Tue, 8 Feb 2022 11:27:00 +1100 Subject: [PATCH] Add option to allow well-known directories to be listed. Signed-off-by: Lachlan Roberts --- jetty-core/jetty-server/src/main/config/etc/well-known.xml | 2 +- jetty-core/jetty-server/src/main/config/modules/well-known.mod | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/jetty-core/jetty-server/src/main/config/etc/well-known.xml b/jetty-core/jetty-server/src/main/config/etc/well-known.xml index e35118a0df5b..ec0ae46cce08 100644 --- a/jetty-core/jetty-server/src/main/config/etc/well-known.xml +++ b/jetty-core/jetty-server/src/main/config/etc/well-known.xml @@ -12,7 +12,7 @@ - false + diff --git a/jetty-core/jetty-server/src/main/config/modules/well-known.mod b/jetty-core/jetty-server/src/main/config/modules/well-known.mod index e5ee42fe7f40..637db50ccd27 100644 --- a/jetty-core/jetty-server/src/main/config/modules/well-known.mod +++ b/jetty-core/jetty-server/src/main/config/modules/well-known.mod @@ -20,3 +20,6 @@ etc/well-known.xml ## Well Known Directory (relative to $JETTY_BASE if relative path, otherwise it is an absolute path). # jetty.wellknown.dir=.well-known # end::documentation[] + +## Allow contents of the well-known directory to be listed. +# jetty.wellknown.directoriesListed=false