From 468ca5b0e6eec9680e9960a92c7ee25e57e3a091 Mon Sep 17 00:00:00 2001 From: theli Date: Wed, 22 Feb 2006 07:18:27 +0000 Subject: [PATCH] *) Bugfix for url.toString problem in yacyClient crawlOrder Thanks to Stephan for the advice git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@1737 6c8d7289-2bf4-0310-a012-ef5d649a1542 --- source/de/anomic/yacy/yacyClient.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/de/anomic/yacy/yacyClient.java b/source/de/anomic/yacy/yacyClient.java index 662647738..d1bb435e2 100644 --- a/source/de/anomic/yacy/yacyClient.java +++ b/source/de/anomic/yacy/yacyClient.java @@ -747,8 +747,8 @@ public final class yacyClient { post.put("youare", targetSeed.hash); post.put(yacySeed.MYTIME, yacyCore.universalDateShortString(new Date())); if (url.length == 1) { - post.put("url", crypt.simpleEncode(url.toString())); - post.put("referrer", crypt.simpleEncode((referrer == null) ? "" : referrer.toString())); + post.put("url", crypt.simpleEncode(url[0].toString())); + post.put("referrer", crypt.simpleEncode((referrer[0] == null) ? "" : referrer[0].toString())); } else { for (int i=0; i< url.length; i++) { post.put("url" + i, crypt.simpleEncode(url[i].toString()));