Rocket.chat: Links containing ":" (e.g. LinkedIn links) will render emojis

Created on 11 Oct 2018  路  5Comments  路  Source: RocketChat/Rocket.Chat

Description:

Pasting links containing the colon character will render an emoji instead of the proper link text. This is problematic for all LinkedIn post links that contains segments with urn:li::

Steps to reproduce:

  1. Paste a LinkedIn post link in any chat in Rocket.chat.
  2. Link segments is converted to emoji.

Expected behavior:

No emojis replaced inside links.

Actual behavior:

image

Server Setup Information:

  • Version of Rocket.Chat Server: 0.68.5
  • Deployment Method: Docker
  • Number of Running Instances: 1

Additional context

Possibly related to #6770

message message rendering bug

Most helpful comment

Hi! In the light of #Hacktoberfest I would like to help fix this bug.
Is this already being worked on, or can I help?

All 5 comments

Hi! In the light of #Hacktoberfest I would like to help fix this bug.
Is this already being worked on, or can I help?

@fcrespo82 There are some open PRs aiming to fix the entire message rendering system and other ones related to a particular rendering issue, but I think there is not a single one addressing this problem yet.

A temporary workaround for this bug is to replace any :s in links with :, which will stop the emoji from being inserted into the link.

Of course, this means hand-editing any messages that have this issue.

On it, will try to fix this.

closed by #15516

Was this page helpful?
0 / 5 - 0 ratings

Related issues

tanc picture tanc  路  3Comments

danpospisil picture danpospisil  路  3Comments

mattlin picture mattlin  路  3Comments

brendanheywood picture brendanheywood  路  3Comments

amayer5125 picture amayer5125  路  3Comments