RocketChat / RocketChat/Rocket.Chat

Uploaded animated WEBP files do not post for download

Open
#10,936 1 comment 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
46.1k
Forks
13.9k
Avg merge
3d 3h
Merged PRs (30d)
130

Description

Description:

When uploading an animated WEBP file, it appears to upload successfully, but doesn't become available in the channel it was uploaded to. No post occurs following the upload. Still WEBP images work properly; only animated variants are broken.

Server Setup Information:
  • Version of Rocket.Chat Server: 0.63.3
  • Operating System: Mac OS 10.13.4/Windows 10
  • Deployment Method(snap/docker/tar/etc): All
  • Number of Running Instances: 1
  • DB Replicaset Oplog:
  • Node Version:
  • mongoDB Version:
Steps to Reproduce:
  1. Attempt to upload an animated WEBP file. As these are uncommon still, here's an example.
  2. Watch it upload as any standard file.
  3. View results.
Expected behavior:

The file should be visible in the channel to download. In the apps, and in supported browsers (Chrome and Opera currently, as this is a proprietary Google format), the image should render.

Actual behavior:

No post appears and the file is not available in the channel view.

Relevant logs:

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the upload in the channel view with the linked animated WEBP example and compare it with a still WEBP upload. The issue names no source file, test, or entry point; done means the animated file creates a channel post, is downloadable, and renders where supported.

Written by the indexing model from the issue text.

Assessment

Domain
full-stack
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.