[
https://issues.apache.org/jira/browse/HTTPCLIENT-654?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Roland Weber updated HTTPCLIENT-654:
------------------------------------
Attachment: 2k7-05-31-cookie3.x-ipv6.txt
Hello Alexander,
please see whether the attached patch fixes the problem.
Maybe you could contribute a unit test?
cheers,
Roland
> 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
> Fix For: 3.1 Final
>
> 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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]