hc-httpclient-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Olivier Lamy <ol...@apache.org>
Subject Internal change with last 4.2.3 with URI ?
Date Mon, 04 Mar 2013 15:41:42 GMT
Hi Folks,
recently Maven Wagon upgraded to last 4.2.3 client.

Now url containing '_' doesn't work anymore.
Exception says :

java.lang.IllegalArgumentException: Host name may not be null
at org.apache.http.HttpHost.<init>(HttpHost.java:79)

Url have format: "https://foo_bar.online.com"

When testing:
URI uri = new URI("https://foo_bar.online.com");

String host = uri.getHost();

host is null so I understand the complain :-).

Is there any related change to use URI ?

Do I have any workaround ?

Olivier Lamy
Talend: http://coders.talend.com
http://twitter.com/olamy | http://linkedin.com/in/olamy

To unsubscribe, e-mail: httpclient-users-unsubscribe@hc.apache.org
For additional commands, e-mail: httpclient-users-help@hc.apache.org

View raw message