Return-Path: X-Original-To: apmail-hc-dev-archive@www.apache.org Delivered-To: apmail-hc-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id A404995C6 for ; Fri, 25 May 2012 19:34:23 +0000 (UTC) Received: (qmail 7728 invoked by uid 500); 25 May 2012 19:34:23 -0000 Delivered-To: apmail-hc-dev-archive@hc.apache.org Received: (qmail 7690 invoked by uid 500); 25 May 2012 19:34:23 -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 7680 invoked by uid 99); 25 May 2012 19:34:23 -0000 Received: from issues-vm.apache.org (HELO issues-vm) (140.211.11.160) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 25 May 2012 19:34:23 +0000 Received: from isssues-vm.apache.org (localhost [127.0.0.1]) by issues-vm (Postfix) with ESMTP id 462E0141887 for ; Fri, 25 May 2012 19:34:23 +0000 (UTC) Date: Fri, 25 May 2012 19:34:22 +0000 (UTC) From: "Jacob L E Blain Christen (JIRA)" To: dev@hc.apache.org Message-ID: <525178400.3792.1337974463289.JavaMail.jiratomcat@issues-vm> In-Reply-To: <1569687955.150.1337896646715.JavaMail.jiratomcat@issues-vm> Subject: [jira] [Updated] (HTTPCLIENT-1192) URIBuilder encodes query parameters twice MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HTTPCLIENT-1192?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jacob L E Blain Christen updated HTTPCLIENT-1192: ------------------------------------------------- Description: The URIBuilder is using URLEncodedUtils to encode the keys/values in the query string before passing it as an argument to a URI constructor that also encodes the query string. See the URI constructor description at http://docs.oracle.com/javase/6/docs/api/java/net/URI.html#URI(java.lang.String,%20java.lang.String,%20java.lang.String,%20java.lang.String,%20java.lang.String) was: The URIBuilder is using URLEncodedUtils to encode the keys/values in the query string before passing it as an argument to a URI constructor that also encodes the query string. See the URI constructor description at http://docs.oracle.com/javase/6/docs/api/java/net/URI.html#URI(java.lang.String,+java.lang.String,+java.lang.String,+java.lang.String,+java.lang.String) > URIBuilder encodes query parameters twice > ----------------------------------------- > > Key: HTTPCLIENT-1192 > URL: https://issues.apache.org/jira/browse/HTTPCLIENT-1192 > Project: HttpComponents HttpClient > Issue Type: Bug > Components: HttpClient > Affects Versions: 4.2 Final > Environment: JDK 1.6 > Reporter: Jacob L E Blain Christen > Fix For: 4.2.1 > > > The URIBuilder is using URLEncodedUtils to encode the keys/values in the query string before passing it as an argument to a URI constructor that also encodes the query string. > See the URI constructor description at http://docs.oracle.com/javase/6/docs/api/java/net/URI.html#URI(java.lang.String,%20java.lang.String,%20java.lang.String,%20java.lang.String,%20java.lang.String) -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org For additional commands, e-mail: dev-help@hc.apache.org