aboutsummaryrefslogtreecommitdiff
path: root/id/server/moa-id-commons
diff options
context:
space:
mode:
Diffstat (limited to 'id/server/moa-id-commons')
-rw-r--r--id/server/moa-id-commons/src/main/java/org/apache/commons/httpclient/MOAHttpClient.java2
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);