And dashes - to my knowledge :-) Anyway: the problem is it tries to connect to port 80 instead of 8080.
If underscores aren't allowed, I'd rather have an exception, instead of wrongfully parsing. (to http://vntsxbiklop1_test/axis2/services/wsinterface) Thanks, Brecht -----Original Message----- From: Oleg Kalnichevski [mailto:[EMAIL PROTECTED] Sent: donderdag 6 september 2007 16:31 To: HttpClient User Discussion Subject: Re: URL not parsed correctly On Thu, 2007-09-06 at 14:33 +0200, Brecht Yperman wrote: > Hi, > > When using HttpClient (from SVN), the following URL isn't parsed > correctly: > http://vntsxbiklop1_test:8080/axis2/services/wsinterface > > This has got to have something to do with the underscore, but I can't > figure out where (somewhere in org.apache.commons.httpclient.URI. > parseUriReference, I guess). > > Is this a bug, or are underscore just not allowed in domain names? > Brecht, To my knowledge only letters (A-Z) and numbers (0-9) are permitted in DNS names. Oleg > Thanks, > Brecht > > --------------------------------------------------------------------- > 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] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
