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
- Receive a message containing a URL followed by a period (e.g., from services like Wolt).
- Open the message and click the link.
- 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 2: The resulting broken link opened in the browser.
-
Screenshot 3: The corrected link without the period resulting in proper result:
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