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

IPV6 Pattern matching fails if IPv6 address enclosed in square brackets

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Invalid
    • 4.4.1
    • None
    • HttpClient (classic)
    • None

    Description

      InetAddressUtils.isIPv6Address method always returns false if IPV6 host address enclosed in square brackets is passed to this method as a parameter. Due to this Host name verification is failing.

       

      Reference: HTTPCLIENT-1698

       

      Ex [https://[2001:db8::2:1]:443/example|https://[2001:db8::2:1]/example], IPV6 host = [[2001:db8::2:1]|https://[2001:db8::2:1]/example]

      Attachments

        Activity

          People

            Unassigned Unassigned
            hbabureddy Babu Reddy
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: