RemotingHelper parses bracketed IPv6 broker addresses incorrectly
- Dominant language
- Java
- Stars
- 22.6k
- Forks
- 12k
- Avg merge
- 3d 1h
- Merged PRs (30d)
- 27
Description
RemotingHelper.parseHostFromAddress splits addresses on every colon. For a bracketed IPv6 broker address such as [2001:db8::1]:10911 it returns [2001 instead of the host. This value is used when preparing HA connection notifications. Expected behavior: return the full IPv6 host without brackets while preserving existing IPv4 behavior.
Contributor guide
Research direction
Start at RemotingHelper.parseHostFromAddress and trace its use when preparing HA connection notifications. Reproduce the bracketed IPv6 example [2001:db8::1]:10911, check the returned host, and compare it with existing IPv4 behavior. Done means the full IPv6 host is returned without brackets while IPv4 parsing remains unchanged.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- networking
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Quiet
- Clarity
- Clearly specified
- Newbie friendliness
- 76/100