Skip to content

OEmbed.getUrlMeta not properly respecting meta fragment #13055

@wreiske

Description

@wreiske

Description:

When posting links in Rocket.Chat, the Oembed.getUrlMeta does not currently send the _escaped_fragment_ query parameter. There is some code for it, but the request is not formatted correctly.

Steps to reproduce:

  1. Post any link containing the HTML <meta name="fragment" content="!">
  2. .. wait for the embed to show
  3. Not meta tags are shown

Expected behavior:

Rocket.Chat should respect the <meta name="fragment" content="!"> in the HTML meta and re-request the web page with an extra _escaped_fragment_= added to the query string.

Actual behavior:

image

Server Setup Information:

  • Version of Rocket.Chat Server: 0.74.0-develop
  • Operating System: OSX
  • Deployment Method: meteor npm start

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions