Permalink
Browse files

Fixed url mask filter generated when protocol modifier is not null

  • Loading branch information...
luccioman committed Nov 30, 2017
1 parent 29de4a6 commit 478e92deffa5e64372ed02458b306faa6b51616e
Showing with 1 addition and 1 deletion.
  1. +1 −1 source/net/yacy/search/query/QueryParams.java
@@ -287,7 +287,7 @@ public QueryParams(
*/
protected static String buildURLFilter(final QueryModifier modifier, final String tld) {
final String protocolfilter = modifier.protocol == null ? ".*" : modifier.protocol;
final String defaulthostprefix = modifier.protocol == null ? "www" : modifier.protocol;
final String defaulthostprefix = "www";
final String hostfilter;
if(modifier.sitehost == null && tld == null) {
hostfilter = ".*";

0 comments on commit 478e92d

Please sign in to comment.