Skip to content
This repository has been archived by the owner on Mar 13, 2024. It is now read-only.

MM-17875 Guess image format before metadata is available #3507

Merged
merged 2 commits into from
Aug 29, 2019
Merged

Conversation

hmhealey
Copy link
Member

With SVGs disabled, there's a brief window when you make a post containing an SVG image link where the SVG might be rendered because the server hasn't told the client that the image is an SVG yet. We can't fix this in all cases without the client attempting to load the image itself, so trying to guess the type of image from the URL is our next best option.

Ticket Link

https://mattermost.atlassian.net/browse/MM-17875

@hmhealey hmhealey added 2: Dev Review Requires review by a core commiter CherryPick/Approved Meant for the quality or patch release tracked in the milestone labels Aug 21, 2019
@hmhealey hmhealey added this to the v5.15.0 milestone Aug 21, 2019
@amyblais amyblais removed the 2: Dev Review Requires review by a core commiter label Aug 28, 2019
@enahum enahum merged commit 252c118 into master Aug 29, 2019
@enahum enahum deleted the mm17875 branch August 29, 2019 22:11
@mattermod mattermod added AutomatedCherryPick and removed CherryPick/Approved Meant for the quality or patch release tracked in the milestone labels Aug 29, 2019
@amyblais amyblais added Changelog/Done Required changelog entry has been written Docs/Not Needed Does not require documentation labels Aug 30, 2019
@lindy65 lindy65 added the Tests/Not Needed Does not require new release tests label Sep 2, 2019
skheria pushed a commit to uber-archive/mattermost-webapp that referenced this pull request Oct 3, 2019
skheria pushed a commit to uber-archive/mattermost-webapp that referenced this pull request Oct 3, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
AutomatedCherryPick Changelog/Done Required changelog entry has been written Docs/Not Needed Does not require documentation Tests/Not Needed Does not require new release tests
Projects
None yet
7 participants