Distributed Peer-to-Peer Web Search Engine and Intranet Search Appliance
Java decentralizedintranet-searchintranet-search-enginep2pp2p-networkprivacyprivacy-protectionsearch-enginesearchenginewebweb-search-enginewebsearchwebseearch-engine
* full site: syntax support e.g. site:de.wikipedia.org possible if dots in query would work yet
lotus0d1bd78674eb
diff --git a/htroot/yacysearch.java b/htroot/yacysearch.javaindex bc85a6a03..697c3c6cd 100644--- a/htroot/yacysearch.java+++ b/htroot/yacysearch.java@@ -222,7 +222,8 @@ public class yacysearch {String domain = querystring.substring(site + 5, ftb);query[0].remove("site:" + domain.toLowerCase());while(domain.startsWith(".")) domain = domain.substring(1);- if(domain.length() > 0) urlmask = "[a-zA-Z]*://[^/]*\\." + domain + "/.*";+ if (domain.indexOf(".") < 0) domain = "\\." + domain; // is tld+ if (domain.length() > 0) urlmask = "[a-zA-Z]*://[^/]*" + domain + "/.*";}// read the language from the language-restrict option 'lr'