You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hc.apache.org by "Yehudit (JIRA)" <ji...@apache.org> on 2014/09/10 13:52:29 UTC

[jira] [Created] (HTTPCLIENT-1552) URI Encoding doesn't encode ':' in URI

Yehudit created HTTPCLIENT-1552:
-----------------------------------

             Summary: URI Encoding doesn't encode ':' in URI
                 Key: HTTPCLIENT-1552
                 URL: https://issues.apache.org/jira/browse/HTTPCLIENT-1552
             Project: HttpComponents HttpClient
          Issue Type: Bug
          Components: HttpClient
    Affects Versions: 4.3.3
            Reporter: Yehudit
            Priority: Critical


A client wants to send a URI that contains:

/content/programid://1879048975~programid://1124073478/offers?catalogueId=1

in it's path.

Apache client doesn't encode/escape the :// part which we believe is allowed by the http spec.

if we encode manually and use:

/content/programid%3A%2F%2F1879048975~programid%3A%2F%2F1124073478/offers?catalogueId=1

then apache client re-encodes the '%' which messes up the uri.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org