From 291912ee523b6b67a5313f61304c1c009907fb2f Mon Sep 17 00:00:00 2001 From: Michael Peter Christen Date: Wed, 12 Jun 2013 00:16:28 +0200 Subject: [PATCH] removed misleading http accessGranted message (this is only for debugging) --- source/net/yacy/server/http/HTTPDFileHandler.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/net/yacy/server/http/HTTPDFileHandler.java b/source/net/yacy/server/http/HTTPDFileHandler.java index 30ae40d5c..31aed3b5f 100644 --- a/source/net/yacy/server/http/HTTPDFileHandler.java +++ b/source/net/yacy/server/http/HTTPDFileHandler.java @@ -337,7 +337,7 @@ public final class HTTPDFileHandler { if (!accessGranted) { final boolean accessFromLocalhost = Domains.isLocalhost(clientIP) && (refererHost == null || refererHost.isEmpty() || Domains.isLocalhost(refererHost)); accessGranted = accessFromLocalhost && realmValue != null && realmProp.length() > 6 && (adminAccountBase64MD5.equals(realmValue)); - if (!accessGranted) Log.logInfo("HTTPDFileHandler", "access blocked, clientIP=" + clientIP); + //if (!accessGranted) Log.logInfo("HTTPDFileHandler", "access blocked, clientIP=" + clientIP + ", path=" + path); } // -5- a password is configured and access comes with matching http-authentify