-
Notifications
You must be signed in to change notification settings - Fork 13.5k
Message fails to send if it contains word "cursor", a colon ":", and brackets "()" #39502
Copy link
Copy link
Open
Labels
Description
Description:
I encountered a case where Rocket.Chat fails to send a message. The message stays grey in the UI and is never sent. I am not an admin and this is not critical for me, but I thought reporting it might be helpful.
This bug appears to occur when the message contains the following three elements in this order:
- the word "cursor" (case-insensitive)
- a colon ":"
- parentheses "()" (empty or with content)
Steps to reproduce:
- Open a chat in Rocket.Chat.
- Type a message containing the word "cursor", followed later by a colon ":" and parentheses "()".
- Attempt to send the message.
Example minimal message:
asdf cursor asdf: asdf (asdf)
Expected behavior:
The message should be sent normally.
Actual behavior:
The message remains grey in the UI and is never sent.
Server Setup Information:
I am not admin, just a regular user, so I have no idea on the server side.
- Version of Rocket.Chat Server: unknown
- License Type: unknown
- Number of Users: unknown
- Operating System: unknown
- Deployment Method: unknown
- Number of Running Instances: unknown
- DB Replicaset Oplog: unknown
- NodeJS Version: unknown
- MongoDB Version: unknown
Client Setup Information
- Desktop App or Browser Version: unknown
- Operating System: Windows 11
Additional context
I originally encountered this when writing a message like:
The Cursor AI costs go to project: MyProject (123456)
The message failed to send until it was rewritten to avoid this pattern.
Relevant logs:
No logs collected.
Reactions are currently unavailable