activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jbono...@apache.org
Subject [activemq] branch master updated: Disable directory listing for the webconsole
Date Sat, 09 Feb 2019 06:22:38 GMT
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 <coheigea@apache.org>
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>


Mime
View raw message