diff --git a/htroot/proxymsg/unknownHost.inc b/htroot/proxymsg/unknownHost.inc index d77fbcf23..6322793ed 100644 --- a/htroot/proxymsg/unknownHost.inc +++ b/htroot/proxymsg/unknownHost.inc @@ -5,9 +5,10 @@ } --> -

The server #[hostName]# could not be found.

+ #(showList)#::

Did you mean:

+ #(/showList)# diff --git a/source/de/anomic/http/httpdProxyHandler.java b/source/de/anomic/http/httpdProxyHandler.java index 584d09c8e..b0e31f50d 100644 --- a/source/de/anomic/http/httpdProxyHandler.java +++ b/source/de/anomic/http/httpdProxyHandler.java @@ -1492,7 +1492,14 @@ public final class httpdProxyHandler { hostNameCount++; } - detailedErrorMsgMap.put("list", hostNameCount); + detailedErrorMsgMap.put("list", hostNameCount); + + if (hostNameCount != 0) { + detailedErrorMsgMap.put("showList", 1); + } else { + detailedErrorMsgMap.put("showList", 0); + } + return detailedErrorMsgMap; }