Distributed Peer-to-Peer Web Search Engine and Intranet Search Appliance
Java decentralizedintranet-searchintranet-search-enginep2pp2p-networkprivacyprivacy-protectionsearch-enginesearchenginewebweb-search-enginewebsearchwebseearch-engine
better logging for invalid file path detection
orbiteradf75bc9fa35
diff --git a/source/de/anomic/plasma/plasmaCrawlWorker.java b/source/de/anomic/plasma/plasmaCrawlWorker.javaindex ccb1421cb..43afeffe1 100644--- a/source/de/anomic/plasma/plasmaCrawlWorker.java+++ b/source/de/anomic/plasma/plasmaCrawlWorker.java@@ -365,7 +365,9 @@ public final class plasmaCrawlWorker extends Thread {if (!htCache.cacheFile.getCanonicalPath().startsWith(cacheManager.cachePath.getAbsolutePath())) {// if the response has not the right file type then reject fileremote.close();- log.logInfo("REJECTED URL " + url.toString() + " because of an invalid file path '" + htCache.cacheFile.getAbsolutePath() + "'.");+ log.logInfo("REJECTED URL " + url.toString() + " because of an invalid file path ('" ++ htCache.cacheFile.getCanonicalPath() + "' does not start with '" ++ cacheManager.cachePath.getAbsolutePath() + "').");return;}