This is an automated email from the ASF dual-hosted git repository.
jbonofre pushed a commit to branch activemq-5.15.x
in repository https://gitbox.apache.org/repos/asf/activemq.git
The following commit(s) were added to refs/heads/activemq-5.15.x by this push:
new 6511821 Disable directory listing for the webconsole
6511821 is described below
commit 65118210fc086a0f94ead307e83444558ee7facc
Author: Colm O hEigeartaigh <[email protected]>
AuthorDate: Fri Feb 8 15:25:13 2019 +0000
Disable directory listing for the webconsole
---
activemq-web-console/src/main/webapp/WEB-INF/web.xml | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/activemq-web-console/src/main/webapp/WEB-INF/web.xml
b/activemq-web-console/src/main/webapp/WEB-INF/web.xml
index b588e60..2f50e5b 100644
--- a/activemq-web-console/src/main/webapp/WEB-INF/web.xml
+++ b/activemq-web-console/src/main/webapp/WEB-INF/web.xml
@@ -157,5 +157,10 @@
<session-config>
<session-timeout>30</session-timeout>
</session-config>
+
+ <context-param>
+ <param-name>org.eclipse.jetty.servlet.Default.dirAllowed</param-name>
+ <param-value>false</param-value>
+ </context-param>
</web-app>