It should be ok now in SVN trunk. Could you give it a try? thanks, Maarten
----- Original Message ---- From: Peter Karich <[email protected]> To: Ant Developers List <[email protected]> Sent: Mon, April 5, 2010 2:49:09 AM Subject: Re: minor bug? Why not: URI uri = url.toURI(); which would fix the problem, I think. Instead you are doing: URI uri = new URI(url.getProtocol(), url.getUserInfo(), url.getHost(), url.getPort(), url.getPath(), url.getQuery(), url.getRef()); > Hi! > > In org/apache/*ivy*/util/url/AbstractURLHandler.java > the method normalizeToString will fail in situations where urls have _ > > E.g. try with http://peat_hal.users.sourceforge.net/m2repository/ > and you will get Illegal character in hostname at index 11 > > How can I nevertheless use that repository with the underscore? > Renaming this awkward username is a bit complicated ... > > Regards, > Peter. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
