You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hc.apache.org by "Oleg Kalnichevski (JIRA)" <ji...@apache.org> on 2007/06/01 12:19:16 UTC

[jira] Updated: (HTTPCLIENT-654) Cookie class cannot handle IPv6 literals

     [ 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