diff options
author | Thomas Lenz <thomas.lenz@egiz.gv.at> | 2020-09-21 11:45:14 +0200 |
---|---|---|
committer | Thomas Lenz <thomas.lenz@egiz.gv.at> | 2020-09-21 11:45:14 +0200 |
commit | 8edf34b86270b8f46985b7109d1a09e4813d19e7 (patch) | |
tree | 6a75580403c60ebe4e5c5bc835327474a452d1d1 /id/server/moa-id-commons/src/main | |
parent | dd35ff888c6709f4cef54b9c173de7ca92501aeb (diff) | |
download | moa-id-spss-8edf34b86270b8f46985b7109d1a09e4813d19e7.tar.gz moa-id-spss-8edf34b86270b8f46985b7109d1a09e4813d19e7.tar.bz2 moa-id-spss-8edf34b86270b8f46985b7109d1a09e4813d19e7.zip |
fix wrong parameter
Diffstat (limited to 'id/server/moa-id-commons/src/main')
-rw-r--r-- | id/server/moa-id-commons/src/main/java/org/apache/commons/httpclient/MOAHttpClient.java | 2 |
1 files changed, 1 insertions, 1 deletions
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); |