From f890cc86aa6a66345c7791d500eb2f06df5b386d Mon Sep 17 00:00:00 2001 From: orbiter Date: Wed, 15 Aug 2007 22:25:48 +0000 Subject: [PATCH] inserted forwarding patch from fuchs see http://forum.yacy-websuche.de/viewtopic.php?f=6&t=233 git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@4046 6c8d7289-2bf4-0310-a012-ef5d649a1542 --- source/de/anomic/plasma/crawler/http/CrawlWorker.java | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/source/de/anomic/plasma/crawler/http/CrawlWorker.java b/source/de/anomic/plasma/crawler/http/CrawlWorker.java index 9daca7726..d977452ca 100644 --- a/source/de/anomic/plasma/crawler/http/CrawlWorker.java +++ b/source/de/anomic/plasma/crawler/http/CrawlWorker.java @@ -314,10 +314,7 @@ public final class CrawlWorker extends AbstractCrawlWorker { } // normalizing URL - redirectionUrlString = new URL(redirectionUrlString).toNormalform(true, true); - - // generating the new URL object - URL redirectionUrl = new URL(redirectionUrlString); + URL redirectionUrl = URL.newURL(this.url, redirectionUrlString); // returning the used httpc httpc.returnInstance(remote);