You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Rocket.Chat Version: 0.57.0-rc.1 (reproduced for 0.56.0 too)
Running Instances: 4
DB Replicaset OpLog: Enabled
Node Version: v4.8.2
Can't create channels with dots in name using slash command. Same channel can be created via UI.
Scenario:
/create "#test.test.test"
repeat step 1 again
Expected:
Channel "test.test.test" created.
Actual:
Channel "test" created. On second attempt it fails with "The channel #test already exists."
Workaround:
change packages/rocketchat-slashcommands-create/server.js line 15 to add dot into regexp:
from
const regexp = /#?([\d-\w]+)/g;
to
const regexp = /#?([\d-.\w]+)/g;
Proper fix should re-use RocketChat.settings.get('UTF8_Names_Validation').
The text was updated successfully, but these errors were encountered:
Rocket.Chat Version: 0.57.0-rc.1 (reproduced for 0.56.0 too)
Running Instances: 4
DB Replicaset OpLog: Enabled
Node Version: v4.8.2
Can't create channels with dots in name using slash command. Same channel can be created via UI.
Scenario:
Expected:
Channel "test.test.test" created.
Actual:
Channel "test" created. On second attempt it fails with "The channel #test already exists."
Workaround:
change packages/rocketchat-slashcommands-create/server.js line 15 to add dot into regexp:
from
const regexp = /#?([\d-\w]+)/g;
to
const regexp = /#?([\d-.\w]+)/g;
Proper fix should re-use RocketChat.settings.get('UTF8_Names_Validation').
The text was updated successfully, but these errors were encountered: