From adf75bc9fa3554e56910564a7de5d0c9173918d0 Mon Sep 17 00:00:00 2001 From: orbiter Date: Sun, 27 Nov 2005 22:55:30 +0000 Subject: [PATCH] better logging for invalid file path detection git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@1133 6c8d7289-2bf4-0310-a012-ef5d649a1542 --- source/de/anomic/plasma/plasmaCrawlWorker.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/source/de/anomic/plasma/plasmaCrawlWorker.java b/source/de/anomic/plasma/plasmaCrawlWorker.java index 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 file remote.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; }