Skip to content

Pasting specific text in multi-line quote causing that specific room to crash #6814

Closed
josephmarksjr/Rocket.Chat
#1
@josephmarksjr

Description

Rocket.Chat Version: v54
Running Instances: 1
DB Replicaset OpLog: Enabled
Runtime_Environment
Node Version: v4.5.0
Build_Environment
Node version: v4.7.3

I noticed an odd bug that can cripple any private or group chat. I copied and pasted a message someone sent, in order to sent it to someone else. I also wrapped it in ``` to form a multi-level quote.

Reproduce this by pasting the following test and wrapping it with ```:
I ....

When you send this, the chat page hangs and eventually you can't do anything. In Chrome it will eventually ask you to kill the page.

When you come back to RC (you'll have to manually go to a different url, such as a different dm or chat) and go back to the previous chat, it won't load or it won't let you send messages.

I was also able to reproduce this at http://demo.rocket.chat.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions