Signal-Desktop icon indicating copy to clipboard operation
Signal-Desktop copied to clipboard

URLs with non-ASCII characters are not percent-encoded

Open ExtRIELICi opened this issue 10 months ago • 4 comments

Using a supported version?

  • [X] I have searched searched open and closed issues for duplicates.
  • [X] I am using Signal-Desktop as provided by the Signal team, not a 3rd-party package.

Overall summary

On Signal Desktop, URLs are sent as-is without encoding, leading to inconsistent behavior across platforms and the inability to open or preview websites on Desktop, without copying it first and pasting it inside a web browser.

Steps to reproduce

  1. Open any chat.
  2. Send a URL containing Greek or Cyrillic characters.
  3. On Signal Desktop, the URL will not be properly previewed or opened, resulting in a messy, non-functioning message.

Expected result

Signal Desktop should ensure non-ASCII characters in URLs are percent-encoded before sending, allowing non-English links to be previewed and opened normally.

Actual result

URLs containing non-ASCII characters are not percent-encoded on Signal Desktop before being sent, leading to issues such as the failure to preview messages and the inability to open links on Desktop without copying them and pasting them in a web browser.

Screenshots

image

Signal version

Signal Desktop 7.42.0 ⁨production⁩ (Apple silicon)

Operating system

macOS Sequoia 15.3.1

Version of Signal on your phone

7.46.0

Link to debug log

https://debuglogs.org/desktop/7.42.0/8a32c613db703e97ca22508307f7ba7cb76cd4786ebb6ed5d1a6a8ebfb7aaf56.gz

https://debuglogs.org/ios/7.46.0/ea20a4f87465df81aad37087fd31b1f5ca6fd22cc4f68e98c67b3573c26cf401.zip

ExtRIELICi avatar Feb 18 '25 13:02 ExtRIELICi

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[bot] avatar Feb 25 '25 01:02 stale[bot]

?

danispringer avatar Feb 25 '25 02:02 danispringer

Hi @danispringer, this feature is disabled by default. Are you sure it's enabled?

sashaweiss-signal avatar Mar 05 '25 17:03 sashaweiss-signal

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.

github-actions[bot] avatar Jun 04 '25 12:06 github-actions[bot]

This issue has been closed due to inactivity.

github-actions[bot] avatar Jun 12 '25 12:06 github-actions[bot]