You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hc.apache.org by "rohit mehta (Issue Comment Edited) (JIRA)" <ji...@apache.org> on 2011/11/22 12:46:40 UTC

[jira] [Issue Comment Edited] (HTTPCLIENT-654) Cookie class cannot handle IPv6 literals

    [ https://issues.apache.org/jira/browse/HTTPCLIENT-654?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13155028#comment-13155028 ] 

rohit mehta edited comment on HTTPCLIENT-654 at 11/22/11 11:46 AM:
-------------------------------------------------------------------

I am also Facing the Problem using Httpclient for uploading the file in IPV6 scenario i.e. File Uploads fails.
Is there any alternative solution for it.Whether the problem is due to I am passing Literal IPV6 address as a server URL.

                
      was (Author: rohitmehta086):
    I am also Facing the Problem using Httpclient for uploading the file in IPV6 scenario i.e. File Uploads fails.
Is there any alternative solution for it.
                  
> 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-06-01-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.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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