Tuba
Tuba copied to clipboard
[Bug]: Missing Unicode filtering for names? (e.g. RTL override can affect UI strings)
Describe the bug
A name ending in an RTL Override character results in the UI string "boosted" getting displayed as "detsoob":
This is innocent enough :) but I'm wondering which other Unicode magic could affect things in unexpected ways. Probably would make sense to filter that kind of thing / reset the unicode context somehow (maybe just splitting the user string into a separate label)?
Steps To Reproduce
Go to profile: @[email protected]
Logs and/or Screenshots
No response
Instance Backend
Mastodon
Operating System
Chimera Linux
Package
Flatpak
Troubleshooting information
No response
Additional Context
No response
Alice is breaking mastodon web too :weary:
Not sure about splitting them into separate labels as it might cause issues with the translations and screen readers. I need to check how desktop notifications handle it too :shrug:
Honestly, this feels like something pango markup should already support :/ like <bdi> or even a span with dir set
I need to check how desktop notifications handle it too
not well...
Apparently trying to isolate this in one text block is non-trivial…