-
Notifications
You must be signed in to change notification settings - Fork 10.4k
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
[BUG] Channel names should be generated the same as they are entered in the input. #11388
Comments
This issue also affects me, both in this and in earlier server versions. |
Correct me if I'm wrong, but this is a duplicate of #9738, isn't it? Cheers |
It covers the same problem with the inconsistent display of the channel name bug but I also mentioned that you can't create a group with the same name except with dashes instead of spaces. |
Well... indeed this is counter-intuitive but I guess what happens under the hood is the following:
So: from a comparison perspective of the sanitized string, "my room name", "my$room$name" and "my-room-name" all get sanitized to "my-room-name". Why do we need to do this:
That's why I'm closing this as a duplicate. Cheers (+close) |
@TwizzyDizzy This seems limiting and is not conventional for chats. |
What about users with Cyrillic, Greek, Chinese or whatever alphabets? They can't even create channels with names in their native language, because there has to be at least one digit or latin letter in the channel name. And it should be unique across all channels. So I just can't create channels like |
Description:
When creating a channel, entering a name with spaces in the channel name input and then clicking "Create" generates a name with dashes (-) in place of the spaces.
The channel appears in the list with the dashes but when opened, the name is displayed on the top as it was entered in the input field.
Also in the info side popup, the name appears with dashes but when clicking "Edit", it appears as originally entered.
The URL also displays the name with dashes.
Trying to create a new channel but with dashes instead of spaces will display an error saying the name already exists.
It appears this issue has been solved in previous versions but has popped up again.
Relevant issues:
#7595
#7488
Steps to reproduce:
Expected behavior:
The name should be displayed consistently in all places.
Rocket should be able to have a channel named "test name" and "test-name" without a problem.
Creating a channel should not generate a channel with a different name to what was entered by the user in the input.
Server Setup Information:
The text was updated successfully, but these errors were encountered: