Return-Path: Delivered-To: apmail-geronimo-dev-archive@www.apache.org Received: (qmail 82128 invoked from network); 28 Nov 2007 20:22:11 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 28 Nov 2007 20:22:11 -0000 Received: (qmail 77788 invoked by uid 500); 28 Nov 2007 20:21:59 -0000 Delivered-To: apmail-geronimo-dev-archive@geronimo.apache.org Received: (qmail 77346 invoked by uid 500); 28 Nov 2007 20:21:57 -0000 Mailing-List: contact dev-help@geronimo.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: dev@geronimo.apache.org List-Id: Delivered-To: mailing list dev@geronimo.apache.org Received: (qmail 77335 invoked by uid 99); 28 Nov 2007 20:21:57 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 28 Nov 2007 12:21:57 -0800 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 28 Nov 2007 20:21:46 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 82912714241 for ; Wed, 28 Nov 2007 12:21:43 -0800 (PST) Message-ID: <25791475.1196281303531.JavaMail.jira@brutus> Date: Wed, 28 Nov 2007 12:21:43 -0800 (PST) From: "Jay D. McHugh (JIRA)" To: dev@geronimo.apache.org Subject: [jira] Commented: (GERONIMO-3638) should allow URL encoding with custom encoding charset other than the default In-Reply-To: <11374054.1196215903244.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/GERONIMO-3638?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12546372 ] Jay D. McHugh commented on GERONIMO-3638: ----------------------------------------- Content can be in any character set, but I am pretty sure that you are only allowed to use a portion of the 8859 character set in URLs. Thus, only alphanumerics, the special characters "$-_.+!*'(),", and reserved characters used for their reserved purposes may be used unencoded within a URL. Since this is an HTTP client, shouldn't it be limited to the characters allowed by the URL spec? > should allow URL encoding with custom encoding charset other than the default > ----------------------------------------------------------------------------- > > Key: GERONIMO-3638 > URL: https://issues.apache.org/jira/browse/GERONIMO-3638 > Project: Geronimo > Issue Type: New Feature > Security Level: public(Regular issues) > Components: AsyncHttpClient > Affects Versions: 1.x > Reporter: Sangjin Lee > Attachments: patch.zip > > > Currently AsyncHttpClient uses Chartset.defaultCharset() when it encodes the query string. However, applications may want to use a different encoding than the machine default charset; e.g. UTF-8. It needs to provide a way to specify an encoding that AHC should use to encode the query string. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.