[
https://issues.apache.org/jira/browse/ARTEMIS-298?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14990264#comment-14990264
]
ASF subversion and git services commented on ARTEMIS-298:
---------------------------------------------------------
Commit 4d54e43ddcf3055ea9e8f80469c27b16411b6972 in activemq-artemis's branch
refs/heads/master from [~jbertram]
[ https://git-wip-us.apache.org/repos/asf?p=activemq-artemis.git;h=4d54e43 ]
ARTEMIS-298 IPv6 escape broken
Previously we were using a long regular expression to detect whether or not a
given host was IPv6. However, this was brittle and hard to read. Since we are
already shipping Google Guava in the distribution it made sense to use the
Guava method com.google.common.net.InetAddresses#isInetAddress rather than
the regular expression.
> IPv6 escape doesn't always work
> -------------------------------
>
> Key: ARTEMIS-298
> URL: https://issues.apache.org/jira/browse/ARTEMIS-298
> Project: ActiveMQ Artemis
> Issue Type: Bug
> Affects Versions: 1.1.0
> Reporter: Justin Bertram
> Assignee: Justin Bertram
> Fix For: 1.1.1
>
>
> Currently a valid IPv6 address like "2620:db8:1:2::1%em1" will not be
> properly escaped with surrounding square brackets (i.e. "[" and "]") which
> causes URI parsing to fail.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)