Skip to content

Hyperlinks containing some special characters are broken #27890

@DClabaut

Description

@DClabaut

Description:

Hyperlinks containing some special characters are not displayed correctly inside the channel, yet they are displayed correctly inside a thread.

Steps to reproduce:

Expected behavior:

  • Links are displayed as they were entered in both the channel and the thread, and clicking the link takes the user to the right place
  • Current special characters breaking the links are: # ( ) :

Actual behavior:

  • Links are displayed incorrectly in the channel, and clicking the link takes the user to the truncated link

Screenshot from 2023-01-30 12-00-32

Screenshot from 2023-01-31 11-52-11

  • Links are displayed correctly in the thread, and clicking the link takes the user to the right place

Screenshot from 2023-01-30 12-00-46

Screenshot from 2023-01-31 11-52-28

Server Setup Information:

  • Version of Rocket.Chat Server: 5.0
  • Operating System: Debian
  • Deployment Method: Tar
  • Number of Running Instances: 1
  • DB Replicaset Oplog:
  • NodeJS Version:
  • MongoDB Version:

Client Setup Information

  • Desktop App or Browser Version: All
  • Operating System: Windows, Linux

Additional context

Similar to #27733

Relevant logs:

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions