Skip to content

replacement with internal data in code block #8640

@neurolabs

Description

@neurolabs

Description:

When sending a message with specific content inside a code block, Rocketchat replaces the content of the code block with something looking like internal state.

Server Setup Information:

  • Version of Rocket.Chat Server: 0.59.3
  • Operating System: Debian GNU/Linux
  • Deployment Method(snap/docker/tar/etc): docker
  • Number of Running Instances: 1

Steps to Reproduce:

  1. paste a message containing a specific code block
`\(.*\)`

Expected behavior:

Rocketchat displays the given message formatted as code

Actual behavior:

Rocketchat substitutes the content of the code block with internal data, e.g.:

=!=kCFKHzxbbR9nm8KHW=!=

When editing the message, it shows the original message. When resubmitting the edited message, the substitution contains a different string. Via WebSocket, the original message is sent.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions