RocketChat / RocketChat/Rocket.Chat
fix Special Characters in Room Names Disappear When "Allow Special in Room Names" Disabled in Settings
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 46.1k
- Forks
- 13.9k
- Avg merge
- 3d 3h
- Merged PRs (30d)
- 130
Description
Description:
If "Allow Special in Room Names" is enabled, and you have created a channel or room containing special characters or spaces, then it will display the room name with special characters. However, if we turn off ("Allow Characters in Room Names") at this point, then we lose the special characters in every name. But if you click on these types of channels rooms in the message bar, you see the correct name, and in the info icon, you also see the correct name. Since it is about "Allow Special Characters in Room Names," it should not remove the special characters and spaces
Steps to reproduce:
- Must have a room/channel name with special character or spaces.
- click on three dots in top left bar.
- choose workspace then scroll down and choose settings
- search for layout
- click on "user interface "
- find "Allow Special Characters in Room Names" and turn off.
Actual behavior:
https://github.com/user-attachments/assets/9fcc19c6-b613-4e82-8d07-58301339f0e4
Server/Client Information
-
Server:
- Operating System: Windows 11 (using WSL Terminal)
- Version of Rocket.Chat Server: 7.5.0-develop
- NodeJS Version: 22.13.1
- Yarn Version: 4.6.0
-
Client:
- Client Type: Browser (Microsoft Edge)
- Access URL: http://localhost:3000
-
Additional:
- WSL Terminal: Used to install dependencies
Are you working on this?
Yes i am working on this
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the issue with a room or channel containing spaces or special characters, then disable "Allow Special Characters in Room Names" through the listed user-interface settings path. Trace the room-name display used in the top-left bar and compare it with the message bar and info icon, then verify that disabling the setting does not alter the displayed name.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100