element-hq / element-hq/element-android

HTTP link with basic auth and non-default port get linkified as matrix user

Open
#5,076 0 comments 0 reactions 0 assignees View on GitHub
A-Links A-Timeline O-Uncommon S-Minor T-Defect
Dominant language
Kotlin
Stars
3.7k
Forks
917
PR merge metrics
No merged PRs in 30d

Description

### Steps to reproduce

1. Send a message with a http link that has basic auth and non-default port: `http://user:pass@example.com:1234`
2. Click on anything right of the `@`

### Outcome

#### What did you expect?

The http link to be opened

#### What happened instead?

A matrix user lookup thing is opened and expectably fails

### Your phone model

_No response_

### Operating system version

Android 10

### Application version and app store

Element version 1.3.15, olm version 3.2.10 from F-Droid

### Homeserver

Synapse 1.51.0

### 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.