From 8edf34b86270b8f46985b7109d1a09e4813d19e7 Mon Sep 17 00:00:00 2001 From: Thomas Lenz Date: Mon, 21 Sep 2020 11:45:14 +0200 Subject: fix wrong parameter --- .../src/main/java/org/apache/commons/httpclient/MOAHttpClient.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'id') diff --git a/id/server/moa-id-commons/src/main/java/org/apache/commons/httpclient/MOAHttpClient.java b/id/server/moa-id-commons/src/main/java/org/apache/commons/httpclient/MOAHttpClient.java index 1a295df4b..ec1f50fb5 100644 --- a/id/server/moa-id-commons/src/main/java/org/apache/commons/httpclient/MOAHttpClient.java +++ b/id/server/moa-id-commons/src/main/java/org/apache/commons/httpclient/MOAHttpClient.java @@ -94,7 +94,7 @@ public class MOAHttpClient extends HttpClient { HttpState interalState = (state == null ? getState() : state); - if (!requiresProxy(uri.getURI()) + if (!requiresProxy(uri.getHost()) && MiscUtil.isNotEmpty(hostconfig.getProxyHost())) { Logger.info("RequestURL is on proxy-ignore list. Remove proxy from request", null); hostconfig.setProxyHost(null); -- cgit v1.2.3