hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yehudit (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HTTPCLIENT-1552) URI Encoding doesn't encode ':' in URI
Date Wed, 10 Sep 2014 11:52:29 GMT
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


Mime
View raw message