Skip to content
Permalink
Browse files

Removed some dead code

  • Loading branch information...
luccioman committed Sep 14, 2018
1 parent db7ad76 commit b5eabb626f9286936ba9df89bf9a25884a1329eb
Showing with 0 additions and 5 deletions.
  1. +0 −5 source/net/yacy/http/servlets/UrlProxyServlet.java
@@ -127,11 +127,6 @@ public void service (ServletRequest req, ServletResponse res) throws ServletExce
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();

0 comments on commit b5eabb6

Please sign in to comment.
You can’t perform that action at this time.