hashicorp / hashicorp/consul

ipv6 address malformed in UI

Open
#12,810 3 comments 2 reactions 0 assignees View on GitHub
theme/ipv6 type/bug
Dominant language
Go
Stars
30.1k
Forks
4.6k
Avg merge
1d 18h
Merged PRs (30d)
39

Description

### Overview of the Issue

The service address in the UI is malformed for ipv6. It just concats the host and port without bracketing the host portion.

### Reproduction Steps

Set an ipv6 service address, see that there's no brackets.

### Consul Version

1.12

### Screengrabs / Web Inspector logs
![image](https://user-images.githubusercontent.com/4633048/163730139-cd515c87-2bdb-4ceb-9d38-978cb95f1df2.png)

Contributor guide

Open the contributing guide

Research direction

No file or test is named in the issue. Start by reproducing the problem in the Consul UI with an IPv6 service address, then trace where the service host and port are formatted. Done means the IPv6 host is bracketed before the port and the corrected address is displayed in the UI.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
frontend
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.