You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by us...@apache.org on 2019/04/17 09:04:31 UTC

[lucene-solr] branch master updated: SOLR-13409: Disable HTML directory listings in admin interface to prevent possible security issues

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

uschindler pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/lucene-solr.git


The following commit(s) were added to refs/heads/master by this push:
     new df27ccf  SOLR-13409: Disable HTML directory listings in admin interface to prevent possible security issues
df27ccf is described below

commit df27ccf01d9b89149fbba00e81c3eed078e28a95
Author: Uwe Schindler <us...@apache.org>
AuthorDate: Wed Apr 17 11:04:13 2019 +0200

    SOLR-13409: Disable HTML directory listings in admin interface to prevent possible security issues
---
 solr/CHANGES.txt               | 2 ++
 solr/server/etc/webdefault.xml | 2 +-
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/solr/CHANGES.txt b/solr/CHANGES.txt
index 1aaefc5..326663a 100644
--- a/solr/CHANGES.txt
+++ b/solr/CHANGES.txt
@@ -274,6 +274,8 @@ Other Changes
 
 * SOLR-13366: Clarify 'Invalid stage name' warning logging in AutoScalingConfig (Christine Poerschke)
 
+* SOLR-13409: Disable HTML directory listings in admin interface to prevent possible security issues (Uwe Schindler)
+
 ==================  8.0.0 ==================
 
 Consult the LUCENE_CHANGES.txt file for additional, low level, changes in this release.
diff --git a/solr/server/etc/webdefault.xml b/solr/server/etc/webdefault.xml
index b987eac..f088292 100644
--- a/solr/server/etc/webdefault.xml
+++ b/solr/server/etc/webdefault.xml
@@ -127,7 +127,7 @@
     </init-param>
     <init-param>
       <param-name>dirAllowed</param-name>
-      <param-value>true</param-value>
+      <param-value>false</param-value>
     </init-param>
     <init-param>
       <param-name>welcomeServlets</param-name>