element-hq / element-hq/element-android

Tapping a url with a hyphen at the end breaks the link

Open
#3,071 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Kotlin
Stars
3.7k
Forks
917
PR merge metrics
No merged PRs in 30d

Description

#### Describe the bug
Bug found in the Element android client... the hyphen gets stripped off of this url on mobile so it breaks the link: https://peakd.com/hive-150470/@kencode/entrena-en-las-artes-marciales--la-isla- that url works fine on Element web client though.

#### To Reproduce
Steps to reproduce the behavior:
1. In android element, tap this link (notice the hyphen at the end):
https://peakd.com/hive-150470/@kencode/entrena-en-las-artes-marciales--la-isla-
2. In Element web, tap that link.
3. Notice the difference? android breaks the link, but that link loads fine on desktop.

#### Smartphone (please complete the following information):
- Device: Samsung Galaxy S8+
- OS: Android 7.0

#### Additional context
- Element - Secure Messenger (latest). Last update Mar 18, 2021. google play.
- Homeserver: matrix.org

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.