Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content

Messages App breaks URLs by including trailing periods in links

  • /e/ version: e-2.7-t
  • Device model(s): beyond2lte
  • Developer mode enabled: yes
  • Device rooted: no
  • Trackers blocker enabled: yes

Summary

The Messages app incorrectly includes the period at the end of URLs in messages, causing the links to break when clicked.

The problem

Steps to reproduce

  1. Receive a message containing a URL followed by a period (e.g., from services like Wolt).
  2. Open the message and click the link.
  3. Observe that the link includes the period at the end and does not load correctly in the browser.

What is the current behavior?

The period at the end of the URL is treated as part of the link. This causes the link to break when opened in a browser or app, leading to an error page or incorrect behavior.

What is the expected correct behavior?

The Messages app should treat the period after a URL as punctuation, not part of the link. Clicking the link should open the correct URL without the trailing period.

Technical informations

Relevant logs (adb logcat)

Relevant screenshots

Screenshots included:

  • Screenshot 1: Messages app showing the incorrect behavior with URLs ending in periods. Screenshot_20250118-185338_Message

  • Screenshot 2: The resulting broken link opened in the browser. Screenshot_20250119-081240_Browser

  • Screenshot 3: The corrected link without the period resulting in proper result: Screenshot_20250119-083624_Browser

Solutions

Workaround

  • Manually remove the trailing period from the URL before clicking.
  • Copy the link and paste it into the browser's address bar, removing the period before hitting Enter.

Possible fixes

Edited by Žroutík