From 23924348e2c90bbc0795085f76c84a807b544a46 Mon Sep 17 00:00:00 2001 From: reger Date: Sat, 7 Feb 2015 22:01:54 +0100 Subject: [PATCH] url with semicolon or comma handling in proxy request apply patch supplied with bugreport http://mantis.tokeek.de/view.php?id=540 --- source/net/yacy/http/ProxyHandler.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/net/yacy/http/ProxyHandler.java b/source/net/yacy/http/ProxyHandler.java index 871bcf162..2658e031a 100644 --- a/source/net/yacy/http/ProxyHandler.java +++ b/source/net/yacy/http/ProxyHandler.java @@ -153,7 +153,7 @@ public class ProxyHandler extends AbstractRemoteHandler implements Handler { // send request try { String queryString = request.getQueryString() != null ? "?" + request.getQueryString() : ""; - DigestURL digestURI = new DigestURL(request.getScheme(), request.getServerName(), request.getServerPort(), request.getPathInfo() + queryString); + DigestURL digestURI = new DigestURL(request.getScheme(), request.getServerName(), request.getServerPort(), request.getRequestURI() + queryString); if (request.getMethod().equals(HeaderFramework.METHOD_GET)) { client.GET(digestURI, false); } else if (request.getMethod().equals(HeaderFramework.METHOD_POST)) {