Skip to content

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

fix for http://forum.yacy-websuche.de/viewtopic.php?f=5&t=4430

sixcooler9b6e4e46ca27
diff --git a/htroot/IndexControlRWIs_p.java b/htroot/IndexControlRWIs_p.java
index 991018c06..cd4688f6b 100644
--- a/htroot/IndexControlRWIs_p.java
+++ b/htroot/IndexControlRWIs_p.java
@@ -106,7 +106,7 @@ public class IndexControlRWIs_p
if ( post != null ) {
final String keystring = post.get("keystring", "").trim();
byte[] keyhash = post.get("keyhash", "").trim().getBytes();
- if (keystring.length() > 0) {
+ if (keystring.length() > 0 && !keystring.contains("not possible to compute word from hash")) {
keyhash = Word.word2hash(keystring);
}
prop.putHTML("keystring", keystring);