element-hq / element-hq/element-web

IPv6 literal URLs in links are mangled, not clickable

Open
#28,276 0 comments 0 reactions 0 assignees View on GitHub
A-Markdown O-Uncommon S-Minor T-Defect
Dominant language
TypeScript
Stars
13.5k
Forks
2.8k
PR merge metrics
PR metrics pending

Description

### Steps to reproduce

Extension of #8875, but this time using `[name](url)` tags.

### Outcome

#### What did you expect?

`[test](https://[2a00:1450:4009:819::200e]/)` should be clickable.

#### What happened instead?

It gets rendered as a link but isn't clickable, because Element mangles the square brackets on the IPv6 literal into `%5B`.

### Operating system

macOS

### Application version

1.11.82

### How did you install the app?

https://try.element.io/get-started

### Homeserver

matrix.org

### Will you send logs?

No

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.