diff --git a/source/net/yacy/http/servlets/UrlProxyServlet.java b/source/net/yacy/http/servlets/UrlProxyServlet.java index 054d18fc6..14ab7d863 100644 --- a/source/net/yacy/http/servlets/UrlProxyServlet.java +++ b/source/net/yacy/http/servlets/UrlProxyServlet.java @@ -127,11 +127,6 @@ public class UrlProxyServlet extends HttpServlet implements Servlet { proxyurl = new DigestURL(URLDecoder.decode(strUrl, StandardCharsets.UTF_8.name())); } - if (proxyurl == null) { - response.sendError(HttpServletResponse.SC_NOT_FOUND,"url parameter missing"); - return; - } - String hostwithport = proxyurl.getHost(); if (proxyurl.getPort() != -1) { hostwithport += ":" + proxyurl.getPort();