Return-Path: Delivered-To: apmail-jakarta-httpclient-user-archive@www.apache.org Received: (qmail 50690 invoked from network); 6 Sep 2007 14:38:11 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 6 Sep 2007 14:38:11 -0000 Received: (qmail 65212 invoked by uid 500); 6 Sep 2007 14:38:05 -0000 Delivered-To: apmail-jakarta-httpclient-user-archive@jakarta.apache.org Received: (qmail 65204 invoked by uid 500); 6 Sep 2007 14:38:04 -0000 Mailing-List: contact httpclient-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: "HttpClient User Discussion" Reply-To: "HttpClient User Discussion" Delivered-To: mailing list httpclient-user@jakarta.apache.org Received: (qmail 65193 invoked by uid 99); 6 Sep 2007 14:38:04 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 06 Sep 2007 07:38:04 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of Brecht.Yperman@invenso.com designates 212.100.175.222 as permitted sender) Received: from [212.100.175.222] (HELO HPSERVER1.office.invenso.com) (212.100.175.222) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 06 Sep 2007 14:38:01 +0000 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: RE: URL not parsed correctly Date: Thu, 6 Sep 2007 16:33:28 +0200 Message-ID: In-Reply-To: <1189089056.8588.31.camel@okhost> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: URL not parsed correctly Thread-Index: AcfwkhRCayTTm00ETM2pKmoG1IxFtAAAJSlw References: <1189089056.8588.31.camel@okhost> From: "Brecht Yperman" To: "HttpClient User Discussion" X-Virus-Checked: Checked by ClamAV on apache.org 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:olegk@apache.org]=20 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, >=20 > When using HttpClient (from SVN), the following URL isn't parsed > correctly: > http://vntsxbiklop1_test:8080/axis2/services/wsinterface >=20 > 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). >=20 > Is this a bug, or are underscore just not allowed in domain names? >=20 Brecht, To my knowledge only letters (A-Z) and numbers (0-9) are permitted in DNS names. Oleg > Thanks, > Brecht >=20 > --------------------------------------------------------------------- > To unsubscribe, e-mail: httpclient-user-unsubscribe@jakarta.apache.org > For additional commands, e-mail: httpclient-user-help@jakarta.apache.org >=20 >=20 --------------------------------------------------------------------- To unsubscribe, e-mail: httpclient-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: httpclient-user-help@jakarta.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: httpclient-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: httpclient-user-help@jakarta.apache.org