Description:
When the option "Allow Special Characters in Room Names" is enabled and turned on, it can occur that the name of a newly created channel or group doesn't correlate with the name that was actually passed by the user / API who created the channel.
Steps to reproduce:
- Make sure "Admin UI" → "Layout" → "User Interface" → "Allow Special Characters in Room Names is set" to
true
- Create a new channel with the name
d4edcce7-a6a8-457e-94c4-0b2d43cd51b8
- Notice the incorrect
name of the channel d-4-edcce-7-a-6-a8-457-e-94-c4-0-b2d-43-cd-51-b8
Expected behavior:
Admin UI → Layout → User Interface → Allow Special Characters in Room Names: "false"
{
[...]
"name": "d4edcce7-a6a8-457e-94c4-0b2d43cd51b8",
"fname": "d4edcce7-a6a8-457e-94c4-0b2d43cd51b8",
[...]
}
Actual behavior:
Admin UI → Layout → User Interface → Allow Special Characters in Room Names: "true"
{
[...]
"name": "d-4-edcce-7-a-6-a8-457-e-94-c4-0-b2d-43-cd-51-b8",
"fname": "d4edcce7-a6a8-457e-94c4-0b2d43cd51b8",
[...]
}
Server Setup Information:
- Version of Rocket.Chat Server: 2.1.0
- Operating System: Dockerized
- Deployment Method: Dockerized
- Number of Running Instances: 1
- DB Replicaset Oplog: Dockerized
- NodeJS Version: Dockerized
- MongoDB Version: Dockerized
Client Setup Information
- Desktop App or Browser Version: RESTAPI client
Description:
When the option "Allow Special Characters in Room Names" is enabled and turned on, it can occur that the name of a newly created channel or group doesn't correlate with the name that was actually passed by the user / API who created the channel.
Steps to reproduce:
trued4edcce7-a6a8-457e-94c4-0b2d43cd51b8nameof the channeld-4-edcce-7-a-6-a8-457-e-94-c4-0-b2d-43-cd-51-b8Expected behavior:
Admin UI → Layout → User Interface → Allow Special Characters in Room Names: "false"
{ [...] "name": "d4edcce7-a6a8-457e-94c4-0b2d43cd51b8", "fname": "d4edcce7-a6a8-457e-94c4-0b2d43cd51b8", [...] }Actual behavior:
Admin UI → Layout → User Interface → Allow Special Characters in Room Names: "true"
{ [...] "name": "d-4-edcce-7-a-6-a8-457-e-94-c4-0-b2d-43-cd-51-b8", "fname": "d4edcce7-a6a8-457e-94c4-0b2d43cd51b8", [...] }Server Setup Information:
Client Setup Information