diff --git a/htroot/yacysearch.java b/htroot/yacysearch.java index 634b8663c..1e826f9f0 100644 --- a/htroot/yacysearch.java +++ b/htroot/yacysearch.java @@ -757,7 +757,7 @@ public class yacysearch { prop.put( "didYouMean_suggestions_" + meanCount + "_url", QueryParams.navurl( - "html", + RequestHeader.FileType.HTML, 0, theQuery, suggestion, true).toString()); diff --git a/htroot/yacysearchitem.java b/htroot/yacysearchitem.java index f5a49e7ee..434bcee3f 100644 --- a/htroot/yacysearchitem.java +++ b/htroot/yacysearchitem.java @@ -105,7 +105,7 @@ public class yacysearchitem { prop.put("remoteResourceSize", Formatter.number(theSearch.remote_rwi_stored.get() + theSearch.remote_solr_stored.get(), true)); prop.put("remoteIndexCount", Formatter.number(theSearch.remote_rwi_available.get() + theSearch.remote_solr_available.get(), true)); prop.put("remotePeerCount", Formatter.number(theSearch.remote_rwi_peerCount.get() + theSearch.remote_solr_peerCount.get(), true)); - prop.put("navurlBase", QueryParams.navurlBase("html", theSearch.query, null, false).toString()); + prop.put("navurlBase", QueryParams.navurlBase(RequestHeader.FileType.HTML, theSearch.query, null, false).toString()); final String target_special_pattern = sb.getConfig(SwitchboardConstants.SEARCH_TARGET_SPECIAL_PATTERN, ""); long timeout = item == 0 ? 10000 : (theSearch.query.isLocal() ? 1000 : 3000); diff --git a/htroot/yacysearchlatestinfo.java b/htroot/yacysearchlatestinfo.java index d1895fd8b..28e5bd690 100644 --- a/htroot/yacysearchlatestinfo.java +++ b/htroot/yacysearchlatestinfo.java @@ -41,7 +41,7 @@ public class yacysearchlatestinfo { prop.put("remoteResourceSize", Formatter.number(theSearch.remote_rwi_stored.get() + theSearch.remote_solr_stored.get(), true)); prop.put("remoteIndexCount", Formatter.number(theSearch.remote_rwi_available.get() + theSearch.remote_solr_available.get(), true)); prop.put("remotePeerCount", Formatter.number(theSearch.remote_rwi_peerCount.get() + theSearch.remote_solr_peerCount.get(), true)); - prop.putJSON("navurlBase", QueryParams.navurlBase("html", theSearch.query, null, false).toString()); + prop.putJSON("navurlBase", QueryParams.navurlBase(RequestHeader.FileType.HTML, theSearch.query, null, false).toString()); return prop; } diff --git a/htroot/yacysearchtrailer.html b/htroot/yacysearchtrailer.html index d352bbe37..8d4ed2219 100644 --- a/htroot/yacysearchtrailer.html +++ b/htroot/yacysearchtrailer.html @@ -81,7 +81,7 @@
#(activate)#