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

Cookie class cannot handle IPv6 literals

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: 3.0.1, 3.1 RC1
    • Fix Version/s: 4.0 Alpha 2
    • Component/s: HttpClient (classic)
    • Labels:
      None
    • Environment:
      IPv6

      Description

      When performing requests using IPv6 literals, Cookie.setDomain() will attempt to trim the port number by cutting off the domain string at the first colon. This leads to MalformedCookieExceptions being thrown by CookieSpecBase later on.

        Attachments

        1. 2k7-06-01-cookie3.x-ipv6.txt
          0.7 kB
          Roland Weber

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              adietrich Alexander Dietrich
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: