Internal change with last 4.2.3 with URI ?

2013-03-04 Thread Olivier Lamy
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

Re: Internal change with last 4.2.3 with URI ?

2013-03-04 Thread Moore, Jonathan (CIM)
Note that '_' isn't a valid hostname character: http://en.wikipedia.org/wiki/Hostname#Restrictions_on_valid_host_names As an alternative, for your tests, you could try: https://foo-bar.example.com/; Also, FWIW, you may want to consider using the example.com domain for things where you need a

Re: Internal change with last 4.2.3 with URI ?

2013-03-04 Thread Oleg Kalnichevski
On Mon, 2013-03-04 at 16:48 +0100, Olivier Lamy wrote: so BTW _ is not valid according to http://www.ietf.org/rfc/rfc2396.txt So forget my question :-) Oliver Indeed, underscore character is not valid for use in DNS names. However it is a very common violation HttpClient provides a