element-x-android icon indicating copy to clipboard operation
element-x-android copied to clipboard

Fails to show user ID with slash

Open shadow-identity opened this issue 10 months ago • 4 comments

Steps to reproduce

  1. Open a message containing user mention. User ID should have slash "/" in it, for example @s/ash:matrix.org.
  2. Tap on user ID

Outcome

What did you expect?

To see the user info, like with any other user.

What happened instead?

It opens https://matrix.to/#/@it/sme:matrix.org. Matrix.to fails to show the user (incorrectly reporting "wrong URL"). So user can not see any user info.

Please note that the slash in the user id @it/sme:matrix.org is not escaped. But even escaped slash URL matrix.to returns the error.

Your phone model

No response

Operating system version

Android 14

Application version and app store

Element X 0.4.6

Homeserver

No response

Will you send logs?

No

Are you willing to provide a PR?

No

shadow-identity avatar Mar 28 '24 10:03 shadow-identity