Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Ansh-dS opened this issue Feb 28, 2025 · 2 comments

Comments

@Ansh-dS
Copy link

Ansh-dS commented Feb 28, 2025

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:

Screen.Recording.2025-03-01.023806.mp4

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

@hiteshm0
Copy link

What do you think should be the expected behavior in this case ?
Do you expect the special characters to disappear from the room name in the message bar and info too ?

@Ansh-dS
Copy link
Author

Ansh-dS commented Mar 1, 2025

@hiteshm0 there can be multiple cases but depends on the team why switching off the settings leads to behave rocket.chat in such a way it can be a intentional thing from the team or can be a bug but whatever it is only team can tell.

@Ansh-dS Ansh-dS changed the title Bug: Special Characters in Room Names Disappear When "Allow Special in Room Names" Disabled in Settings fix Special Characters in Room Names Disappear When "Allow Special in Room Names" Disabled in Settings Mar 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants