hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Oleg Kalnichevski (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HTTPCLIENT-654) Cookie class cannot handle IPv6 literals
Date Fri, 01 Jun 2007 10:19:16 GMT

     [ https://issues.apache.org/jira/browse/HTTPCLIENT-654?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Oleg Kalnichevski updated HTTPCLIENT-654:
-----------------------------------------

    Fix Version/s:     (was: 3.1 Final)
                   4.0 Alpha 2

To be fixed in 4.0 codeline where we could make use of regexp to test whether a cookie domain
attribute is a IPv4 or IPv6 address

Oleg

> Cookie class cannot handle IPv6 literals
> ----------------------------------------
>
>                 Key: HTTPCLIENT-654
>                 URL: https://issues.apache.org/jira/browse/HTTPCLIENT-654
>             Project: HttpComponents HttpClient
>          Issue Type: Bug
>          Components: HttpClient
>    Affects Versions: 3.0.1, 3.1 RC1
>         Environment: IPv6
>            Reporter: Alexander Dietrich
>            Priority: Trivial
>             Fix For: 4.0 Alpha 2
>
>         Attachments: 2k7-05-31-cookie3.x-ipv6.txt
>
>
> 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.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: httpcomponents-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: httpcomponents-dev-help@jakarta.apache.org


Mime
View raw message