Return-Path: Delivered-To: apmail-hc-dev-archive@www.apache.org Received: (qmail 57144 invoked from network); 14 Dec 2010 00:56:28 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 14 Dec 2010 00:56:28 -0000 Received: (qmail 30313 invoked by uid 500); 14 Dec 2010 00:56:27 -0000 Delivered-To: apmail-hc-dev-archive@hc.apache.org Received: (qmail 30266 invoked by uid 500); 14 Dec 2010 00:56:27 -0000 Mailing-List: contact dev-help@hc.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "HttpComponents Project" Delivered-To: mailing list dev@hc.apache.org Received: (qmail 30258 invoked by uid 99); 14 Dec 2010 00:56:27 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 14 Dec 2010 00:56:27 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 14 Dec 2010 00:56:25 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id oBE0u4Gg008631 for ; Tue, 14 Dec 2010 00:56:04 GMT Message-ID: <27333787.104831292288164024.JavaMail.jira@thor> Date: Mon, 13 Dec 2010 19:56:04 -0500 (EST) From: "Sebb (JIRA)" To: dev@hc.apache.org Subject: [jira] Resolved: (HTTPCLIENT-911) Support underscore in domain name, or provide better exception MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HTTPCLIENT-911?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sebb resolved HTTPCLIENT-911. ----------------------------- Resolution: Fixed Fix Version/s: (was: 4.1 Alpha2) Appears now to be fixed. > Support underscore in domain name, or provide better exception > -------------------------------------------------------------- > > Key: HTTPCLIENT-911 > URL: https://issues.apache.org/jira/browse/HTTPCLIENT-911 > Project: HttpComponents HttpClient > Issue Type: Improvement > Components: HttpClient > Affects Versions: 4.0.1 > Reporter: Ziv Horesh > Priority: Minor > Attachments: HTTPCLIENT-911.patch > > > When calling on HttpClient.execute with a url that contain underscore ('_'), you get NullPointerException. > Tracing it down show that java.net.Uri complains that it is illegal name. Which is true according to the RFC. > But it seems that most browser allow it, and some companies support it. > I think HttpClient should either support underscores, or atleast provide a better exception. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org For additional commands, e-mail: dev-help@hc.apache.org