Merge pull request #7544 from eclipse/jetty-10.0.x-well-known-listing

Add option to allow well-known directories to be listed.
This commit is contained in:
Lachlan 2022-02-23 10:25:56 +11:00 committed by GitHub
commit 75fdd06add
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 1 deletions

View File

@ -12,7 +12,7 @@
<Arg><Property name="jetty.wellknown.dir" default=".well-known"/></Arg>
</Call>
</Set>
<Set name="directoriesListed">false</Set>
<Set name="directoriesListed"><Property name="jetty.wellknown.listDirectories" default="false"/></Set>
</New>
</Set>
</New>

View File

@ -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.listDirectories=false