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
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
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
Strike my previous post, I tried it with another service and it seemed to
work properly on a non-standard port. I'll have to dig into my Elastic
Search config and see if it's not handling multiple requests properly.