Distributed Peer-to-Peer Web Search Engine and Intranet Search Appliance
Java decentralizedintranet-searchintranet-search-enginep2pp2p-networkprivacyprivacy-protectionsearch-enginesearchenginewebweb-search-enginewebsearchwebseearch-engine
*) Bugfix for httpd security but - authentication was only required for html files. See: http://www.yacy-forum.de/viewtopic.php?p=16510
theli2a88232cee73
diff --git a/source/de/anomic/http/httpdFileHandler.java b/source/de/anomic/http/httpdFileHandler.javaindex de306a4ca..ed610f7ae 100644--- a/source/de/anomic/http/httpdFileHandler.java+++ b/source/de/anomic/http/httpdFileHandler.java@@ -301,7 +301,9 @@ public final class httpdFileHandler extends httpdAbstractHandler implements http// check permission/granted accessString authorization = (String) requestHeader.get(httpHeader.AUTHORIZATION);String adminAccountBase64MD5 = switchboard.getConfig("adminAccountBase64MD5", "");- if ((path.endsWith("_p.html")) && (adminAccountBase64MD5.length() != 0)) {+ int pos = path.lastIndexOf(".");++ if ((path.substring(0,(pos==-1)?path.length():pos)).endsWith("_p") && (adminAccountBase64MD5.length() != 0)) {// authentication requiredif (authorization == null) {