RocketChat / RocketChat/Rocket.Chat

fix Special Characters in Room Names Disappear When "Allow Special in Room Names" Disabled in Settings

Open
#35,368 2 comments 0 reactions 0 assignees View on GitHub

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:
  1. Must have a room/channel name with special character or spaces.
  2. click on three dots in top left bar.
  3. choose workspace then scroll down and choose settings
  4. search for layout
  5. click on "user interface "
  6. 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
  1. Server:

    1. Operating System: Windows 11 (using WSL Terminal)
    2. Version of Rocket.Chat Server: 7.5.0-develop
    3. NodeJS Version: 22.13.1
    4. Yarn Version: 4.6.0
  2. Client:

    1. Client Type: Browser (Microsoft Edge)
    2. Access URL: http://localhost:3000
  3. Additional:

    1. WSL Terminal: Used to install dependencies
Are you working on this?

Yes i am working on this

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.