so BTW _ is not valid according to http://www.ietf.org/rfc/rfc2396.txt So forget my question :-)
2013/3/4 Olivier Lamy <[email protected]>: > 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 ? > > Thanks > -- > Olivier Lamy > Talend: http://coders.talend.com > http://twitter.com/olamy | http://linkedin.com/in/olamy -- Olivier Lamy Talend: http://coders.talend.com http://twitter.com/olamy | http://linkedin.com/in/olamy --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
