You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ratis.apache.org by "Abhishek Pal (Jira)" <ji...@apache.org> on 2026/08/02 10:26:00 UTC
[jira] [Created] (RATIS-2633) IPv6 address parsing broken in shell
Abhishek Pal created RATIS-2633:
-----------------------------------
Summary: IPv6 address parsing broken in shell
Key: RATIS-2633
URL: https://issues.apache.org/jira/browse/RATIS-2633
Project: Ratis
Issue Type: Bug
Components: shell
Reporter: Abhishek Pal
Assignee: Abhishek Pal
The naive split(":") can't handle some IPv6 addresses in [parseInetSocketAddress|https://github.com/apache/ratis/blob/a1bbf47f98a83d3bbddb4357c8a9b96bcfd7c727/ratis-shell/src/main/java/org/apache/ratis/shell/cli/CliUtils.java#L166].
An example is *[::1]:8080*.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)