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:
@ -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) {
|
||||
|
Reference in New Issue
Block a user