hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jacob L E Blain Christen (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HTTPCLIENT-1192) URIBuilder encodes query parameters twice
Date Fri, 25 May 2012 19:34:22 GMT

     [ 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


Mime
View raw message