[ https://issues.apache.org/jira/browse/CAMEL-12723?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16578680#comment-16578680 ]
ASF GitHub Bot commented on CAMEL-12723: ---------------------------------------- GitHub user onderson opened a pull request: https://github.com/apache/camel/pull/2471 CAMEL-12723 - remove unsafe chars in rfc1738 which obsolete in rfc3986 You can merge this pull request into a Git repository by running: $ git pull https://github.com/onderson/camel CAMEL-12723 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/camel/pull/2471.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #2471 ---- commit f82415f8c59f169a3280903cc5f3a54f71c81008 Author: onders <onders@...> Date: 2018-08-13T17:13:18Z CAMEL-12723 - remove unsafe chars in rfc1738 which obsolete in rfc3986 ---- > 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)