From 16b070db01b24af9932307ac34e9a13f1d1de70a Mon Sep 17 00:00:00 2001 From: Lachlan Roberts Date: Tue, 8 Feb 2022 11:27:00 +1100 Subject: [PATCH 1/2] Add option to allow well-known directories to be listed. Signed-off-by: Lachlan Roberts --- jetty-server/src/main/config/etc/well-known.xml | 2 +- jetty-server/src/main/config/modules/well-known.mod | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/jetty-server/src/main/config/etc/well-known.xml b/jetty-server/src/main/config/etc/well-known.xml index e35118a0df5b..ec0ae46cce08 100644 --- a/jetty-server/src/main/config/etc/well-known.xml +++ b/jetty-server/src/main/config/etc/well-known.xml @@ -12,7 +12,7 @@ - false + diff --git a/jetty-server/src/main/config/modules/well-known.mod b/jetty-server/src/main/config/modules/well-known.mod index e5ee42fe7f40..637db50ccd27 100644 --- a/jetty-server/src/main/config/modules/well-known.mod +++ b/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 From 90f7d97dd2392c4aed1dbeab1bc3fd619cdd6584 Mon Sep 17 00:00:00 2001 From: Lachlan Roberts Date: Tue, 22 Feb 2022 17:12:33 +1100 Subject: [PATCH 2/2] PR #7544 - changes from review Signed-off-by: Lachlan Roberts --- jetty-server/src/main/config/etc/well-known.xml | 2 +- jetty-server/src/main/config/modules/well-known.mod | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/jetty-server/src/main/config/etc/well-known.xml b/jetty-server/src/main/config/etc/well-known.xml index ec0ae46cce08..068b676a4abf 100644 --- a/jetty-server/src/main/config/etc/well-known.xml +++ b/jetty-server/src/main/config/etc/well-known.xml @@ -12,7 +12,7 @@ - + diff --git a/jetty-server/src/main/config/modules/well-known.mod b/jetty-server/src/main/config/modules/well-known.mod index 637db50ccd27..4db3029b075c 100644 --- a/jetty-server/src/main/config/modules/well-known.mod +++ b/jetty-server/src/main/config/modules/well-known.mod @@ -22,4 +22,4 @@ etc/well-known.xml # end::documentation[] ## Allow contents of the well-known directory to be listed. -# jetty.wellknown.directoriesListed=false +# jetty.wellknown.listDirectories=false