1
0
mirror of https://github.com/yacy/yacy_search_server.git synced 2025-07-19 08:44:42 -04:00

improve tld: query modifier filter pattern (to prevent tld:net accepting www.abcinet.org)

This commit is contained in:
reger
2013-08-12 21:20:23 +02:00
parent 02fe8b43ba
commit a67a4b7d86

@ -226,7 +226,7 @@ public final class QueryParams {
this.urlMask_isCatchall = false;
}
if (tld != null) {
this.urlMask = Pattern.compile(".*" + tld + ".*");
this.urlMask = Pattern.compile(".*\\." + tld + ".*");
this.urlMask_isCatchall = false;
}
if (modifier.filetype != null) {