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

Önder Sezgin commented on CAMEL-12723:
--------------------------------------

Yes, i will revert and rethink again. It is hard to change something in 
UnsafeUriCharactersEncoder. it is very common and have high impact. As a side 
note, RFC 1738 (URI notation) and URL encoding stuff are complicated in 
DefaultComponent, DefaultCamelContext and URISupport and have many nesting 
points. Requires high attention. I will revert

> 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
>            Assignee: Önder Sezgin
>            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