Skip to content

Distributed Peer-to-Peer Web Search Engine and Intranet Search Appliance

fix for bad json

orbiter78c9d3138828
diff --git a/htroot/yacy/seedlist.java b/htroot/yacy/seedlist.java
index 93265ab60..d5d88a5cc 100644
--- a/htroot/yacy/seedlist.java
+++ b/htroot/yacy/seedlist.java
@@ -91,7 +91,7 @@ public final class seedlist {
Set<String> ips = seed.getIPs();
if (ips == null || ips.size() == 0) continue;
prop.putJSON("peers_" + count + "_map_0_k", Seed.HASH);
- prop.putJSON("peers_" + count + "_map_0_v", seed.hash);
+ prop.put("peers_" + count + "_map_0_v", '"' + serverObjects.toJSON(seed.hash) + '"');
prop.put("peers_" + count + "_map_0_c", 1);
Map<String, String> map = seed.getMap();
int c = 1;