Skip to content

URLs ending in a hyphen break when followed by a whitespace and words #14084

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
3 tasks done
hoxu opened this issue Apr 7, 2025 · 1 comment
Open
3 tasks done

URLs ending in a hyphen break when followed by a whitespace and words #14084

hoxu opened this issue Apr 7, 2025 · 1 comment
Labels

Comments

@hoxu
Copy link

hoxu commented Apr 7, 2025

Guidelines

  • I have searched searched open and closed issues for duplicates
  • I am submitting a bug report for existing functionality that does not work as intended
  • This isn't a feature request or a discussion topic

Bug description

URLs ending in a hyphen (- 0x2D) cause broken links when followed by a whitespace (0x20 or 0x0A) and words.

Reproduction steps:

  1. Send message https://example.com/link-.
  2. Send message https://example.com/link- word or https://example.com/link-\nword.
  3. Tapping on first link opens https://example.com/link-.
  4. Tapping on second link opens https://example.com/link.

Seems to be an issue with the Signal Android link parser that reproduces on different Android devices. For what it's worth, Signal Desktop works correctly for both links.

Screenshots

No response

Device

No response

Android version

No response

Signal version

7.38.7

Link to debug log

No response

Copy link

stale bot commented Jun 6, 2025

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the wontfix label Jun 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant