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

Önder Sezgin edited comment on CAMEL-12723 at 8/13/18 12:09 PM:
----------------------------------------------------------------

I went over the suggested fix. It seems to help for this case. PR could be 
provided. Full build and with test runs would be good. Otherwise the impact may 
be high. I ll try to see what i can do.


was (Author: onders):
I went over the suggested fix. It seems to help for this case. PR could be 
provided. Full build and with test runs would be good. I ll try to see what i 
can do.

> Camel ftp component does not support  IPV6
> ------------------------------------------
>
>                 Key: CAMEL-12723
>                 URL: https://issues.apache.org/jira/browse/CAMEL-12723
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-core
>            Reporter: Zhangbo
>            Priority: Major
>             Fix For: 2.23.0
>
>
> Dear Camel team, we are just verifying our migrated application to Apache 
> Camel. Today we found an issue that is not described on the web, in the faq 
> nor among the existing issues. We are creating endpoints via String literals 
> and when we started the IPv6 tests we failed on this issue. The Camel 
> transforms the orginal address 
> \{noformat}ftp://[2a00:8a00:6000:40::1413]:8080\{noformat} to this format 
> \{noformat}ftp://%5B2a00:8a00:6000:40::1413%5D:8080\{noformat} which causes 
> this exception \{noformat}instance1 2013-10-30 13:25:23,914 
> org.apache.camel.processor.DefaultErrorHandler DEBUG 
> (MarkerIgnoringBase.java:debug:72) [Camel (camel-1) thread #74 - 
> JmsConsumer[XXX-RR-TEST]] | Failed delivery for (MessageId: 
> ID:mch30-pgd02-b-45068-1383134137465-8:5:1:1:3 on ExchangeId: 
> ID-mch30-pgd02-b-35624-1383134141407-0-176). On delivery attempt: 0 caught: 
> org.apache.commons.httpclient.URIException: IPv6reference\{noformat} The 
> suggested solution is to remove the square brackets \{noformat}[ ]\{noformat} 
> from the \{noformat}unsafeCharacters\{noformat} in the 
> \{noformat}org.apache.camel.util.UnsafeUriCharactersEncoder\{noformat} since 
> the square brackets are valid IPv6 characters. Thanks! Best regards, Laci



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to