Skip to content

[Bug]: Missing Unicode filtering for names? (e.g. RTL override can affect UI strings) #603

@valpackett

Description

@valpackett

Describe the bug

A name ending in an RTL Override character results in the UI string "boosted" getting displayed as "detsoob":

"Alice 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: @alice@crab.garden

Logs and/or Screenshots

No response

Instance Backend

Mastodon

Operating System

Chimera Linux

Package

Flatpak

Troubleshooting information

No response

Additional Context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinghelp wantedExtra attention is needed

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions