RocketChat / RocketChat/Rocket.Chat

Uploaded Items With Quoted Names Appear as HTML Escapes in Chat

Open
#18,193 4 comments 1 reaction 2 assignees View on GitHub

@ggazzo is already working on this.

Since Feb 24, 2026.

area: ui/ux triaged type: bug
Dominant language
TypeScript
Stars
46.1k
Forks
13.9k
Avg merge
3d 3h
Merged PRs (30d)
130

Description

Description:

If you upload an attachment in direct message or in a channel and you use quotes, those quotes aren't represented properly in the various chat clients.

Steps to reproduce:
  1. Upload an image or video
  2. Name it This is "test"
  3. In the channel it will appear as This is a %22test%22
Expected behavior:

It should appear as This is a "test"

Actual behavior:

rocketchat_quote_issue

Server Setup Information:
  • Version of Rocket.Chat Server: 3.4.1
  • Operating System: Linux
  • Deployment Method: docker
  • Number of Running Instances: 1
  • DB Replicaset Oplog: Enabled
  • NodeJS Version: v12.16.1
  • MongoDB Version: 4.2.8
Client Setup Information
  • Desktop App or Browser Version: Any
  • Operating System: Any
Additional context

This may be related to the following issues:
https://github.com/RocketChat/Rocket.Chat/issues/17797
https://github.com/RocketChat/Rocket.Chat/issues/17688

I haven't exhaustively tested other characters that might be escaped in this manner so there may be more.

Relevant logs:

(Logs not required)

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.