This is an automated email from the ASF dual-hosted git repository.
schultz pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/tomcat.git
The following commit(s) were added to refs/heads/master by this push:
new 3e1496c Add documentation, changelog for new DefaultServlet options.
3e1496c is described below
commit 3e1496c295e9eab08e5d85fbc793c962dcb99c58
Author: Christopher Schultz <[email protected]>
AuthorDate: Sun May 5 15:10:12 2019 +0200
Add documentation, changelog for new DefaultServlet options.
---
webapps/docs/changelog.xml | 3 +++
webapps/docs/default-servlet.xml | 6 ++++++
2 files changed, 9 insertions(+)
diff --git a/webapps/docs/changelog.xml b/webapps/docs/changelog.xml
index af33b14..a7f71df 100644
--- a/webapps/docs/changelog.xml
+++ b/webapps/docs/changelog.xml
@@ -134,6 +134,9 @@
Add <code>--no-jmx</code> flag to allow disabling JMX in
<code>startup.Tomcat.main</code>. (remm)
</fix>
+ <add>
+ <bug>57287</bug>: Add file sorting to DefaultServlet (schultz)
+ </add>
</changelog>
</subsection>
<subsection name="Coyote">
diff --git a/webapps/docs/default-servlet.xml b/webapps/docs/default-servlet.xml
index bd1c0f1..a515f73 100644
--- a/webapps/docs/default-servlet.xml
+++ b/webapps/docs/default-servlet.xml
@@ -195,6 +195,12 @@ Tomcat.</p>
Should server information be presented in the response sent to clients
when directory listing is enabled. [true]
</property>
+ <property name="sortListings">
+ Should the server sort the listings in a directory. [false]
+ </property>
+ <property name="sortDirectoriesFirst">
+ Should the server list all directories before all files. [false]
+ </property>
</properties>
</section>
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]