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

Cookie class cannot handle IPv6 literals

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • 3.0.1, 3.1 RC1
    • 4.0 Alpha 2
    • HttpClient (classic)
    • None
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: