This Bug happens on every device, and is not directly a thing of threema web, but it fits best here.
Threema allows to use URL-Actions https://threema.ch/en/faq/url_actions
In my case this helps to share content. But there is a bug with sharing text. If you try to share an encoded \r\n you get redirected to the threema homepage.
In 4. The preview is without line-break, but if you send it there will be a line-break.
Happens not only with CR + LF but also only with LF.
Potential Solution
Must be solved in https://threema.id - if I should contact you anywhere else only tell me.
Your Environment
Irrelevant. Problem is the Webservice.
Edit: This also happens on Android where the URL invokes the App. Should i open an Issue in the Android-App Repo?
(respectively the app closes itself if you try to open the link 2. on your mobile device.)
I'll forward it, thanks. Next time, if it isn't solely Threema Web, https://threema.ch/support or a Threema message to *SUPPORT would be better. :slightly_smiling_face:
Bug Description
This Bug happens on every device, and is not directly a thing of threema web, but it fits best here.
Threema allows to use URL-Actions https://threema.ch/en/faq/url_actions In my case this helps to share content. But there is a bug with sharing text. If you try to share an encoded \r\n you get redirected to the threema homepage.
Steps to Reproduce (for bugs)
bla bla
): https://threema.id/compose?text=Bla%20Blabla\r\nbla
encoded with javascript encodeURI): https://threema.id/compose?text=Bla%0D%0ABlabla bla
): https://wa.me/?text=Bla%20Blabla\r\nbla
encoded with javascript encodeURI): https://wa.me/?text=Bla%0D%0ABlaHappens not only with CR + LF but also only with LF.
Potential Solution
Must be solved in https://threema.id - if I should contact you anywhere else only tell me.
Your Environment
Irrelevant. Problem is the Webservice.
Edit: This also happens on Android where the URL invokes the App. Should i open an Issue in the Android-App Repo? (respectively the app closes itself if you try to open the link 2. on your mobile device.)