From eb2a4bb55557dfde04b084ac9225d4e2383b3bd1 Mon Sep 17 00:00:00 2001 From: sixcooler Date: Sat, 10 Apr 2010 00:21:07 +0000 Subject: [PATCH] workaround(?) for http://forum.yacy-websuche.de/viewtopic.php?f=5&t=2770&start=0&st=0&sk=t&sd=a&hilit=DefaultCharsetStringPart git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@6791 6c8d7289-2bf4-0310-a012-ef5d649a1542 --- source/de/anomic/yacy/yacyClient.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/de/anomic/yacy/yacyClient.java b/source/de/anomic/yacy/yacyClient.java index b27fa369c..23a6d3f11 100644 --- a/source/de/anomic/yacy/yacyClient.java +++ b/source/de/anomic/yacy/yacyClient.java @@ -1043,7 +1043,7 @@ public final class yacyClient { if (urls[i] != null) { resource = urls[i].toString(); //System.out.println("*** DEBUG resource = " + resource); - if (resource != null) { + if (resource != null && resource.indexOf(0) == -1) { post.add(new DefaultCharsetStringPart("url" + urlc, resource)); urlPayloadSize += resource.length(); urlc++;