You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2021/07/02 09:23:45 UTC

[Bug 57287] Sort files listed by DefaultServlet

https://bz.apache.org/bugzilla/show_bug.cgi?id=57287

--- Comment #12 from Konstantin Kolinko <kn...@gmail.com> ---
Please note that by default this feature is off and should be explicitly
enabled.

E.g. with

        <init-param>
            <param-name>listings</param-name>
            <param-value>true</param-value>
        </init-param>
        <init-param>
            <param-name>sortListings</param-name>
            <param-value>true</param-value>
        </init-param>
        <init-param>
            <param-name>sortDirectoriesFirst</param-name>
            <param-value>true</param-value>
        </init-param>

See

https://tomcat.apache.org/tomcat-9.0-doc/default-servlet.html#change
https://github.com/apache/tomcat/commit/3e1496c295e9eab08e5d85fbc793c962dcb99c58

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org