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

URI Encoding doesn't encode ':' in URI

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Invalid
    • 4.3.3
    • None
    • HttpClient (classic)

    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

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

            Dates

              Created:
              Updated:
              Resolved: