This is an automated email from the ASF dual-hosted git repository.

jbonofre pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/activemq.git


The following commit(s) were added to refs/heads/master by this push:
     new 84f675a  Disable directory listing for the webconsole
     new 1cf13c4  Merge pull request #344 from coheigea/disable_dir_listing
84f675a is described below

commit 84f675a7a15a8e3eb5482c0f41091a6839c5a08c
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>

Reply via email to