Uploaded image for project: 'HttpComponents HttpClient'
  1. HttpComponents HttpClient
  2. HTTPCLIENT-1552

URI Encoding doesn't encode ':' in URI

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Invalid
    • Affects Version/s: 4.3.3
    • Fix Version/s: None
    • Component/s: HttpClient (classic)
    • Labels:

      Description

      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.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              yglass Yehudit
            • Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: