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

MM-14484 Remove download attribute from Open external image link #2655

Merged
merged 1 commit into from
Apr 15, 2019

Conversation

hmhealey
Copy link
Member

The browser will attempt to download a linked file if that link has the download attribute. We were incorrectly specifying that attribute on a link that should just open an external image.

I'm not sure why this worked correctly (ie it just opened the file) for images that weren't served through the local image proxy, but it's possible it's some browser thing that prevents files from other domains from being downloaded this way.

Ticket Link

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

@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 Apr 12, 2019
@hmhealey hmhealey added this to the v5.11.0 milestone Apr 12, 2019
@crspeller crspeller added 4: Reviews Complete All reviewers have approved the pull request and removed 2: Dev Review Requires review by a core commiter labels Apr 15, 2019
@hmhealey hmhealey merged commit efe092a into master Apr 15, 2019
@hmhealey hmhealey deleted the mm14484 branch April 15, 2019 20:43
@lindy65 lindy65 added Tests/Not Needed Does not require new release tests and removed 4: Reviews Complete All reviewers have approved the pull request labels Apr 24, 2019
@amyblais
Copy link
Member

Can somebody help cherry pick this to v5.11?

@hanzei hanzei added 4: Reviews Complete All reviewers have approved the pull request CherryPick/Done Successfully cherry-picked to the quality or patch release tracked in the milestone and removed CherryPick/Approved Meant for the quality or patch release tracked in the milestone labels Apr 24, 2019
@amyblais amyblais added Changelog/Done Required changelog entry has been written Docs/Not Needed Does not require documentation labels Apr 24, 2019
@lindy65 lindy65 removed the 4: Reviews Complete All reviewers have approved the pull request label Apr 26, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Changelog/Done Required changelog entry has been written CherryPick/Done Successfully cherry-picked to the quality or patch release tracked in the milestone Docs/Not Needed Does not require documentation Tests/Not Needed Does not require new release tests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants